File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ const config = {
58
58
// available preprocessors:
59
59
// https://npmjs.org/browse/keyword/karma-preprocessor
60
60
preprocessors : {
61
- '**/test/**/*.ts' : [ 'webpack' , 'sourcemap' ]
61
+ 'test/**/*.ts' : [ 'webpack' , 'sourcemap' ] ,
62
+ 'src/**/*.test.ts' : [ 'webpack' , 'sourcemap' ]
62
63
} ,
63
64
64
65
mime : { 'text/x-typescript' : [ 'ts' , 'tsx' ] } ,
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ module.exports = function (config) {
23
23
// files to load into karma
24
24
files : getTestFiles ( argv ) ,
25
25
26
+ preprocessors : {
27
+ '**/test/*.ts' : [ 'webpack' , 'sourcemap' ] ,
28
+ } ,
29
+
26
30
// frameworks to use
27
31
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
28
32
frameworks : [ 'mocha' ] ,
You can’t perform that action at this time.
0 commit comments