@vitest/snapshot
5.1.0 · 2 Nov 2026MIT134.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/snapshot From 1.4.0 to 1.6.1
6 releases in betweenevery note read
Security
Release by release
- Security
- Fixed
Backport #7317 to v1
- New
Support standalone mode
- New
Custom "snapshotEnvironment" option
- New
benchmark: Support comparing benchmark result
- New
browser: Allow injecting scripts
- New
- Fixed
Use package.json name for a workspace project if not provided
- Fixed
Backport jest iterable equality within object
- Fixed
browser: Support benchmark
- Fixed
reporter: Use default error formatter for JUnit
- Fixed
- Fixed
Check for null before storing in weakmap
- Fixed
- Fixed
Close vite servers on all resolved projects
- Fixed
Fix default
import.meta.env.PROD: false - Fixed
Resolve cwd correctly when initiating projects
- Fixed
Always run
onTestFinishedin reverse order
- Fixed
- New
Add configuration for diff truncation
- New
Remove unrelated noise from diff for toMatchObject()
- New
Allow custom host for --inspect and --inspect-brk
- New
coverage: V8 to ignore empty lines, comments, types
- New
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.