@vitest/spy
5.0.5 · 15 Oct 2026MIT202.7M / weekRepositoryHomepagenpmAtom feed
0.34.7 is the newest release of 0.34.x.
In short
5 new1 faster12 fixed1 internal
Release note
Features
config: Add
diffoptioncoverage: Add
coverage['100']to istanbul providervitest: Support
vi.waitFormethodvitest: Allow using unprocessed environment files
vitest: Support
vi.waitUntilmethod
Bug Fixes
Update HappyDOMOptions to be compatible with v12
Print value shape when .resolves and .rejects fails
expect: Improve the error message when nothing is thrown when testing
toThrowhappy-dom: Catch errors in happy-dom
runner: Restore leading space in
testNamePatternrunner:
test.extenddoesn't work in hooks without testsnapshot: Support mix of normal/with placeholders snapshots
ui: Correctly render ansi diff
vite-node: Export
SourceMapInputto fix CYCLIC_CROSS_CHUNK_REEXPORTvite-node: Align vite dependency version with vitest
vitest: Rerun tests if a file loaded with query changes
vitest: Inject "define" in workspaces
Performance
Use lazy require in vm pool