@vitest/coverage-v8
5.1.0 · 2 Nov 2026MIT66.8M / weekRepositoryHomepagenpmAtom feed
1.6.1 is the newest release of 1.x.
In short
6 new2 faster8 fixed
Release note
Features
Support standalone mode
Custom "snapshotEnvironment" option
benchmark: Support comparing benchmark result
browser: Allow injecting scripts
reporter: Support
includeConsoleOutputandaddFileAttributein junitui: Sort items by file name
Bug Fixes
Keep order of arguments for .each in custom task collectors
Call
resolveId('vitest')afterbuildStartHash the name of the file when caching
Don't panic on empty files in node_modules
Use
toJSONfor error serializationcoverage: Exclude
*.test-d.*by defaultcoverage: Apply
vite-node's wrapper only to executed filesvm: Support network imports
Performance
Improve performance of forks pool
Unnecessary rpc call when coverage is disabled
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.