-
Notifications
You must be signed in to change notification settings - Fork 30
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
karma-parallel do not return exit code 1 anymore on too low code coverage #35
Comments
workaround in poweshell:
|
What version of karma are you using? |
Having the same issue. Using karma 4.0.1 and karma-coverage-istanbul-reporter 2.0.5. Also using the same TypeScript and Angular 7 |
I have not yet tested with karma v4. Can you try downgrading to v3.x to see if that fixes it? I’ll try to support v4, just seeing if that’s related. |
Just to update, I'm seeing this issue still as well. angular 8.2.4 |
Could you create a reproduction repo? I don’t use angular nor Istanbul in my normal processes. |
I'm submitting a
What is the current behavior?
when I run Istanbul code coverage using:
ng test --source-map --code-coverage
tests do not return exit code 1 on code coverage below threshold anymore, so it is hard to detect coverage errors in CI
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
ng test --source-map --code-coverage
What is the expected behavior?
ng test --source-map --code-coverage
tests should return exit code 1 on code coverage below threshold
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: