Skip to content

Commit d1c4e2d

Browse files
mcanalesmayomatz3
authored andcommitted
[FIX] karma: include *.js files in the preprocessors
Fixes UI5#34
1 parent dda3659 commit d1c4e2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

karma-ci.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function(config) {
88
// preprocess matching files before serving them to the browser
99
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
1010
preprocessors: {
11-
'{webapp,webapp/!(test)}/*.js': ['coverage']
11+
'{,!(test)}/*.js': ['coverage']
1212
},
1313

1414
coverageReporter: {
@@ -49,7 +49,7 @@ module.exports = function(config) {
4949

5050
// Continuous Integration mode
5151
// if true, Karma captures browsers, runs the tests and exits
52-
singleRun: true,
52+
singleRun: true
5353

5454
});
5555
};

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = function(config) {
6464

6565
// Continuous Integration mode
6666
// if true, Karma captures browsers, runs the tests and exits
67-
singleRun: false,
67+
singleRun: false
6868

6969
});
7070
};

0 commit comments

Comments
 (0)