karma-coverage
karma-coverage copied to clipboard
Include All Sources Not Working
coverageReporter: {
dir: require('path').join(__dirname, './coverage/app'),
subdir: '.',
reporters: [
{ type: 'text-summary' },
{ type: 'lcov'}
],
includeAllSources: true
},
preprocessors: {
'**/src/app/**/*.ts': ['coverage']
},
Despite configuring coverage to include all sources, it's not doing that.
Untested files are excluded from the coverage metrics.
Configuration:
"karma": "~6.3.0",
"karma-coverage": "~2.1.0",
Same issue here
This is still an issue. I'm moving to https://github.com/kopach/karma-sabarivka-reporter