@vitest/coverage-v8
5.1.0 · 2 Nov 2026MIT66.8M / weekRepositoryHomepagenpmAtom feed
2.1.9 is the newest release of 2.x.
In short
2 deprecated1 faster14 fixed
- Deprecated
vitest: Deprecate UserConfig in favor of ViteUserConfig
- Deprecated
vitest: Deprecate old task types and node-reliant types
Release note
Bug Fixes
Fix error diff of
toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsybrowser: Provide aria role intellisense
browser: Not.toBeInTheDocument works with locators API
browser: Use
/mockServiceWorker.jsinstead of/__vitest_msw__browser: Don't override the esbuild option in the browser mode
expect: Preserve prototype in
toMatchObjectdiffmocker: Specify correct spy dependency
runner: Ensure sequential suite overrides sequence.concurrent
- Deprecated
vitest: Deprecate UserConfig in favor of ViteUserConfig
vitest: Don't hang with maxConcurrency 0
- Deprecated
vitest: Deprecate old task types and node-reliant types
vitest: Fix
<empty line>logs when interleavingconsole.log/errorvitest: Show rollup error details as test error
vitest: Always inline setup files
vitest: Use
fast-globinstead oftinyglobbyin Vitestweb-worker: Share mocker with main executor
Performance
Reuse full name in reported tasks, update generator types
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.