Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include All Sources Not Working #490

Open
SenorPez opened this issue May 18, 2023 · 3 comments
Open

Include All Sources Not Working #490

SenorPez opened this issue May 18, 2023 · 3 comments

Comments

@SenorPez
Copy link

    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.

@SenorPez
Copy link
Author

Configuration:

    "karma": "~6.3.0",
    "karma-coverage": "~2.1.0",

@ccerrillo
Copy link

@SenorPez I'm experiencing the same, were you able to solve it?

@TahinDani
Copy link

Same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants