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

Support non-global coverageThreshold #13

Open
deini opened this issue Dec 1, 2022 · 2 comments · May be fixed by #18
Open

Support non-global coverageThreshold #13

deini opened this issue Dec 1, 2022 · 2 comments · May be fixed by #18
Labels
enhancement New feature or request

Comments

@deini
Copy link

deini commented Dec 1, 2022

Currently this lib only support reading the global coverageThreshold, it would be nice to support bumping it for others too, eg:

coverageThreshold: {
  global: {
    branches: 100,
    functions: 100,
    lines: 100,
    statements: 100,
  },
  './src/some-dir/': {
    branches: 80,
    functions: 81,
    lines: 90,
    statements: 83,
  },
  './src/some-other-dir/': {
    branches: 100,
    functions: 100,
    lines: 100,
    statements: 100,
  },
},
@rbardini rbardini added the enhancement New feature or request label Jan 16, 2023
@thall90
Copy link

thall90 commented May 9, 2023

@rbardini Would you be willing to accept a PR with this functionality?

@rbardini
Copy link
Owner

@thall90 Absolutely, I'm happy to review any contributions towards this!

@thall90 thall90 linked a pull request May 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants