ci: fix and enhance coverage report

This commit is contained in:
Rainer Killinger
2022-08-22 12:34:55 +02:00
parent c7b30cf749
commit 2130d84920
2 changed files with 8 additions and 3 deletions

View File

@@ -32,8 +32,8 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, '../coverage'),
reports: ['html', 'lcovonly', 'text-summary'],
dir: require('path').join(__dirname, './coverage'),
reports: ['html', 'lcovonly', 'text-summary', 'cobertura'],
fixWebpackSourcePaths: true
},
reporters: config.buildWebpack.options.codeCoverage ? ['mocha', 'coverage-istanbul'] : ['mocha'],