Skip to content

Commit

Permalink
fix: regex for excluding coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Nov 29, 2022
1 parent 76be8db commit 16b6c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = function (config, base, karmaTypescriptConfig) {
},
coverageOptions: {
instrumentation: !isDebug,
exclude: /(\.test)|(spec\.ts$)/,
exclude: /\.(test|spec)\.ts$/,
},
reports: {
html: reportsDir,
Expand Down

0 comments on commit 16b6c89

Please sign in to comment.