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 authored and Nuno Campos committed Sep 10, 2016
1 parent b1ff2f7 commit 00621f9
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 00621f9

Please sign in to comment.