@vitest/expect
5.0.5 · 15 Oct 2026MIT151.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/expect from 1.3.1 to 1.6.1
7 releases in betweennotes for 5
- 1+
- change to make
- 0
- advisories fixed
- 19+
- new
- 49+
- fixes
Counted from 5 of 7 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- deprecated1.4.0
Release by release
1.6.1no release note
- 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
1.5.1no release note
- 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
- new
Throw error when using snapshot assertion with
not - new
Add a flag to include test location in tasks
- new
cli: Support wildcards in
--projectoption - new
config: Add
shuffle.filesandshuffle.testsoptions
- new