Skip to content

Commit

Permalink
Update karma config to run tests with --code-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
cheehongw committed Apr 26, 2024
1 parent eda9575 commit 4ae7224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function (config) {
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},
reporters: ['spec'],
reporters: ['spec', 'coverage-istanbul'],
specReporter: {
maxLogLines: 5, // limit number of lines per test
suppressErrorSummary: true,
Expand Down

0 comments on commit 4ae7224

Please sign in to comment.