Skip to content

Commit 16b6c89

Browse files
committed
fix: regex for excluding coverage
1 parent 76be8db commit 16b6c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module.exports = function (config, base, karmaTypescriptConfig) {
9696
},
9797
coverageOptions: {
9898
instrumentation: !isDebug,
99-
exclude: /(\.test)|(spec\.ts$)/,
99+
exclude: /\.(test|spec)\.ts$/,
100100
},
101101
reports: {
102102
html: reportsDir,

0 commit comments

Comments
 (0)