Open jerrythomas opened 5 months ago
Let's re-check if this issue is still valid
This is still valid issue. It happens only on V8 provider - istanbul one works correctly. My guess is that this is a merging issue here but didn't yet debug it:
Even a more verbose case like below is incorrect:
Describe the bug
The following code runs differently in different environments (jsdom/windows)
If I write tests which tests these two paths shouldn't the coverage reported be 100%?
Actual reported coverage is
Reproduction
repro-vitest-v8-coverage
System Info
Used Package Manager
pnpm
Validations