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

Code coverage excludes not working with angular-cli #8

Open
PikaChokeMe opened this issue Jan 26, 2017 · 0 comments
Open

Code coverage excludes not working with angular-cli #8

PikaChokeMe opened this issue Jan 26, 2017 · 0 comments

Comments

@PikaChokeMe
Copy link

I'm using karma-instanbul-threshold 0.4.0 with
angular-cli: 1.0.0-beta.25.5
node: 6.9.1
on os: win32 x64

I'm trying exclude a single file from failing code coverage reports.
I've tried adding it as

istanbulThresholdReporter: {
  excludes: [
    './src/app/core/services/guard-services/iframe-unload-guard-service.ts'
  ],

and running ng test --code-coverage
But my build still fails with Low Coverage: app/core/services/guard-services/iframe-unload-guard-service.ts 24.24% of 75% lines

Is this functionality currently broken, or am I doing something wrong?

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

1 participant