merged code coverage isn't accurate #4554
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
The merged code coverage of
vitest
andcypress
isn't accurate; it's reporting wrong and alternating results. For example, in reports fromcodecov
, if someone updated a file, even if it had no effect on actual code, the coverage percentage would differ. See this PR: #4541 (comment). It shows that the coverage has increased, but the only file that has changed is a github workflow file.Steps to reproduce
Just merge the code coverage using
scripts/coverage.ts
script.Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
The issue is from
nyc
side, there is an open issue for with some suggested solutions there: istanbuljs/nyc#1302Additional Context
No response
The text was updated successfully, but these errors were encountered: