Packages

@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

Other targets from 0.30.1Newest 0.x0.34.7Latest5.1.0
  1. 0.30.1yours
  2. 0.31.0target

Before you upgrade

Tick each one off as you go
  • Breaking0.31.0
  • Breaking0.31.0

Release by release

  1. 0.31.0

    Migration needed3 May 20233 new · 8 fixes
    • Breaking

      Remove browser from allowed pools inside poolMatchGlob config 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

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.