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

Not working with categories #6

Open
rbadr opened this issue Nov 27, 2017 · 0 comments
Open

Not working with categories #6

rbadr opened this issue Nov 27, 2017 · 0 comments

Comments

@rbadr
Copy link

rbadr commented Nov 27, 2017

jest-coverage-ratchet doesn't raise jest's minimum coverage thresholds per category if current coverage is higher.

In my case, I have in my package.json :

"coverageThreshold": { "./src/shared/utils/Misc.js": { "lines": 80, "statements": 80, "functions": 80, "branches": 80 }

And in my coverage-summary, the coverage for this file is 100%,, then when I run jest-coverage-ratchet it doesn't raise the current threshold coverage for this file, it only raises the global.

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