-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Coverage check out-of-box #1673
Comments
Right now my workaround: "check-coverage": "istanbul check-coverage --statements 100",
"test": "jest --coverage && npm run check-coverage && npm run lint && npm run docs" But it requires extra I agree that it is not big deal. But if we have build-in |
There is a |
Wow. Thanks. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
Feature request
What is the current behavior?
It is awesome, that Jest have many tools out-of-box. For example,
--coverage
. But what is a point to have coverage if you can’t check it in CI? :)What is the expected behavior?
Add
--coverage --statements 100
options. And exit with non-zero exit code on smaller coverage results.The text was updated successfully, but these errors were encountered: