This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ module.exports = function(config) {
85
85
files : [ 'test_index.ts' ] ,
86
86
87
87
// list of files / patterns to exclude
88
- exclude : [ ] ,
88
+ exclude : config . excludeFiles ? config . excludeFiles . split ( ',' ) : [ ] ,
89
89
90
90
// preprocess matching files before serving them to the browser
91
91
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
Original file line number Diff line number Diff line change 8
8
"build" : " rm -rf build/examples; mkdir -p build/examples/; cp -r ./examples ./build; webpack --config webpack-examples.config.js" ,
9
9
"build-odoo" : " rm -rf build/examples; mkdir -p build/examples/; cp -r ./examples ./build; webpack --config webpack-odoo.config.js" ,
10
10
"perf" : " karma start --include-files test/**/*.perf.ts" ,
11
- "coverage" : " karma start --coverage" ,
11
+ "coverage" : " karma start --coverage --include-files **/*.test.ts --exclude-files **/*.perf.ts " ,
12
12
"debug" : " karma start --no-browsers --debug" ,
13
- "test" : " karma start"
13
+ "test" : " karma start --exclude-files **/*.perf.ts "
14
14
},
15
15
"repository" : {
16
16
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments