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
Wrong coverage report #375
Comments
I'm seeing the same issue. Running via c8 instead of using --coverage displays the correct uncovered line numbers. Related #371 |
@Nisgrak, try it now with Vitest v0.2.0 |
@antfu When |
I suppose this is the same root cause that @Demivan is mentioning, but Vue files aren't popping up in the report.
Adding a new TS file in |
Describe the bug
The coverage doesn't make sense with the actual code
Reproduction
Github repo: https://github.com/Nisgrak/vitest-coverage-bug
Execute
pnpm i && pnpm test:unit
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: