Skip to content

Not working with categories #6

@rbadr

Description

@rbadr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions