We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Extend check-total to look beyond statements. It appears, at the moment, check-total only checks against statements and not against lines, functions or branches.
check-total
lines, functions or branches
check-total --from coverage/coverage-summary.json --min 80
Also support
check-total --from coverage/coverage-summary.json --min 80 --functions 63 --branches 53
Which would check against lines, functions and branches as well.
Additionally, if .nycrc is present then it can read the thresholds if not provided on cli.
.nycrc
The text was updated successfully, but these errors were encountered:
an alternative you should use npx nyc check-coverage for reading the nycrc
npx nyc check-coverage
Sorry, something went wrong.
No branches or pull requests
Extend
check-total
to look beyond statements. It appears, at the moment, check-total only checks against statements and not againstlines, functions or branches
.Expected
Also support
Which would check against lines, functions and branches as well.
Additionally, if
.nycrc
is present then it can read the thresholds if not provided on cli.The text was updated successfully, but these errors were encountered: