@vitest/coverage-v8
5.1.0 · 2 Nov 2026MIT66.8M / weekRepositoryHomepagenpmAtom feed
4.1.12 is the newest release of 4.x.
In short
2 new17 fixed
Release note
Features
experimental: Expose
matchesTagsto test if the current filter matches tagsexperimental: Introduce
experimental.vcsProvider
Bug Fixes
Mark
TestProject.testFilesListinternal properlyDetect fixture that returns without calling
useDrop vite 8.beta support
Type regression in vi.mocked() static class methods
Properly re-evaluate actual modules of mocked external
Preserve coverage report when html reporter overlaps
Provide
vi.advanceTimersto the preview providerDon't leak event listener in playwright provider
Open browser in
--standalonemode without running testsGuard disposable and optional
bodyResolve
retry.conditionRegExp serialization issuecollect: Don't treat extra props on
testreturn as testscoverage: Simplify provider types
coverage: Load built-in provider without module runner
expect: Soft assertions continue after .resolves/.rejects promise errors
expect: Fix sinon-chai style API
pretty-format: Limit output for large object
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.