@vitest/snapshot
5.1.0 · 2 Nov 2026MIT134.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/snapshot From 0.30.1 to 0.31.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 3
- new
- 8
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.31.0
- Breaking0.31.0
Release by release
- Breaking
Remove
browserfrom allowed pools insidepoolMatchGlobconfig option. Please, use Vitest workspaces for running tests in the browser. - Breaking
Move assertion declarations to expect package
- New
Update mock implementation to support ESM runtime, introduce "vi.hoisted"
- New
Add repeat method to tests
- Breaking
1 internal line (docs, tests, tooling) left out.
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.