@vitest/expect
5.0.5 · 15 Oct 2026MIT151.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/expect from 1.1.0 to 1.6.1
15 releases in betweennotes for 12
- 2+
- changes to make
- 0
- advisories fixed
- 43+
- new
- 127+
- fixes
Counted from 12 of 15 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- deprecated1.4.0
- deprecated1.3.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
- new
vitest: Expose parseCLI method
- new
Add task tests iteratively
- fixed
coverage: Ignore generated TS decorators
- fixed
ui: Auto reload coverage iframe after test run
- new
4 internal lines (docs, tests, tooling) left out.