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
I've also tried debugging the code in reportCoverage, it's somehow related with source maps, url has correct mapping, while map has stripped src, probably issue inctx.vitenode.fetchCache.entries(), but that's just assumption
Describe the bug
I've got the following preact project structure
For some reason test report always strips
src
from src folder tests, test report structure:I've tried manually running c8 with config from https://github.com/vitest-dev/vitest/blob/main/packages/vitest/src/integrations/coverage.ts - it worked fine, src was under src, not in root folder
I've also tried debugging the code in reportCoverage, it's somehow related with source maps, url has correct mapping, while map has stripped
src
, probably issue inctx.vitenode.fetchCache.entries()
, but that's just assumptionReproduction
https://github.com/wight554/blog-template
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: