Skip to content

Commit fab48f3

Browse files
committed
Make Babel preprocessor patterns more explicit for TypeScript files
1 parent 1d1c38f commit fab48f3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/karma.common.conf.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ var karmaConfig = {
1313
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
1414
preprocessors: {
1515
"dist/jspdf.es.js": "coverage",
16-
"test/**/*.spec.ts": "babel",
17-
"test/utils/compare.ts": "babel",
18-
"test/**/loadGlobals.ts": "babel"
16+
"test/specs/**/*.spec.ts": "babel",
17+
"test/deployment/**/*.spec.ts": "babel",
18+
"test/utils/*.ts": "babel",
19+
"test/unit/loadGlobals.ts": "babel",
20+
"test/deployment/**/loadGlobals.ts": "babel"
1921
},
2022
// web server port
2123
port: 9876,

0 commit comments

Comments
 (0)