Skip to content

Commit

Permalink
test: generate lcov.info only during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodin committed Sep 1, 2021
1 parent 8677596 commit 3b9c392
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,10 @@ module.exports = (config) => {
autoWatch: watch,

coverageIstanbulReporter: {
reports: ['html', 'lcovonly'],
reports: isCI ? ['lcovonly'] : ['html'],
dir: '.coverage',
combineBrowserReports: true,
skipFilesWithNoCoverage: true,
'report-config': {
html: {subdir: 'html'},
lcovonly: {subdir: 'lcov'},
},
},

customLaunchers: {
Expand Down

0 comments on commit 3b9c392

Please sign in to comment.