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 @@ -45,6 +45,11 @@ module.exports = (karma) => {
45
45
}
46
46
} ) ;
47
47
48
+ config . files . push ( {
49
+ pattern : "test/**/*.js" ,
50
+ type : "module"
51
+ } ) ;
52
+
48
53
if ( config . logLevel !== karma . LOG_DISABLE ) {
49
54
console . debug ( "Karma Config:\n" , nodeUtil . inspect ( config , {
50
55
depth : 10 ,
Original file line number Diff line number Diff line change 55
55
"lint" : " eslint lib test/fixtures test/specs" ,
56
56
"test" : " npm run test:node && npm run test:typescript && npm run test:browser && npm run lint" ,
57
57
"test:node" : " mocha" ,
58
- "test:browser" : " cross-env NODE_OPTIONS=--openssl-legacy-provider karma start --single-run" ,
58
+ "test:browser" : " cross-env NODE_OPTIONS=--openssl-legacy-provider karma start karma.conf.cjs --single-run" ,
59
59
"test:typescript" : " tsc --noEmit --strict --lib esnext,dom test/specs/typescript-definition.spec.ts" ,
60
60
"coverage" : " npm run coverage:node && npm run coverage:browser" ,
61
61
"coverage:node" : " nyc node_modules/mocha/bin/mocha" ,
You can’t perform that action at this time.
0 commit comments