@vitest/coverage-v8
5.1.0 · 2 Nov 2026MIT66.8M / weekRepositoryHomepagenpmAtom feed
1.6.1 is the newest release of 1.x.
In short
13 fixed
Release note
Bug Fixes
coverage: Remove
coverage/.tmpfiles after runcoverage: Don't crash when re-run removes earlier run's reports
expect: Improve
toThrow(asymmetricMatcher)failure messageforks: Set correct
VITEST_POOL_IDthreads: Mention common work-around for the logged error
typecheck: Fix
ignoreSourceErrorsin run modevite-node: Provide import.meta.filename and dirname
vitest: Expose getHooks & setHooks
vitest: Test deep dependencies change detection
vitest: Throw an error if vi.mock is exported
vitest: Allow
useFakeTimersto fakerequestIdleCallbackon non browservitest: Support older NodeJS with async
import.meta.resolvevitest: Don't throw an error if mocked file was already imported
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.