Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Commit 6d8e00a

Browse files
committed
Fixed tests
1 parent 6b9db0e commit 6d8e00a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function(config) {
1616
'spec/helpers.js',
1717
'node_modules/react/dist/react-with-addons.js',
1818
'node_modules/sinon/pkg/sinon.js',
19-
'spec/**/*.spec.{jsx,js}'
19+
'spec/**/*.spec.+(jsx|js)'
2020
],
2121

2222
// list of files to exclude
@@ -25,7 +25,7 @@ module.exports = function(config) {
2525
// preprocess matching files before serving them to the browser
2626
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
2727
preprocessors: {
28-
'spec/**/*.spec.{jsx,js}': ['webpack']
28+
'spec/**/*.spec.+(jsx|js)': ['webpack']
2929
},
3030

3131
// test results reporter to use

0 commit comments

Comments
 (0)