@vitest/expect
5.0.5 · 15 Oct 2026MIT151.9M / 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