You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that @vitest/coverage-c8 is being deprecated, we can implement this for both coverage providers. I think it would be breaking change though, as option structure would change.
But sure, it doesn't have to be a breaking change at first. The coverage['lines'|'branches'|'statements'|'functions'] could be used as fallback for coverage.threshold.global before they are completely removed from configuration API.
Clear and concise description of the problem
I cannot set coverage thresholds globally and also for a specific directory.
Suggested solution
Something similar to coverageThreshold of Jest: https://jestjs.io/docs/configuration#coveragethreshold-object
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: