karma-runner / karma-runner/karma-coverage

Include All Sources Not Working

Open
#490 3 comments 5 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
771
Forks
242
PR merge metrics
No merged PRs in 30d

Description

```
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.