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
Since the @vitest/coverage-c8 is removed in favor of @vitest/coverage-v8 (#3339) and coverage-v8 doesn't provide the allowExternal option this will break coverage reports when upgrading to the latest vitest version (and switching providers).
Suggested solution
Implement the allowExternal option (as suggested in the above-mentioned PR). I'd be happy to provide the implementation (LMK if you have any inputs/suggestions on how to do this)
PR is welcome! Here is one PR for reference to show which files, tests and documentation needs changes when adding new coverage options: #3453.
Let me know if you need any help.
@AriPerkkio I drafted a PR for this, can you check it out? #3894
I actually would need help with writing good tests for this feature. I added some tests but I don't think they do what they should do. Please check out the comments in the PR 🙏
Clear and concise description of the problem
Since the @vitest/coverage-c8 is removed in favor of @vitest/coverage-v8 (#3339) and coverage-v8 doesn't provide the allowExternal option this will break coverage reports when upgrading to the latest vitest version (and switching providers).
Suggested solution
Implement the allowExternal option (as suggested in the above-mentioned PR). I'd be happy to provide the implementation (LMK if you have any inputs/suggestions on how to do this)
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: