Skip to content

Commit

Permalink
allow test/helper files with .js extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Sep 13, 2016
1 parent 55fad86 commit d7f1b58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ module.exports = function karma(config) {
reporters: ['dots'],

files: [
'test/*.jsx',
'test/*.{jsx,js}',
],

exclude: [
'test/_*.jsx',
'test/_*.{jsx,js}',
],

browsers: [
Expand All @@ -42,7 +42,7 @@ module.exports = function karma(config) {
],

preprocessors: {
'test/*.jsx': ['webpack', 'sourcemap'],
'test/*.{jsx,js}': ['webpack', 'sourcemap'],
},

webpack: {
Expand Down

0 comments on commit d7f1b58

Please sign in to comment.