Packages

@vitest/expect

5.0.5 · 15 Oct 2026MIT151.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @vitest/expect from 1.2.1 to 1.6.1

10 releases in betweennotes for 8

Other targets from 1.2.1Latest5.0.5
2+
changes to make
0
advisories fixed
33+
new
89+
fixes

Counted from 8 of 10 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. 1.6.1no release note

  2. 1.6.0

    3 May 20248 new · 8 fixes
    • new

      Support standalone mode

    • new

      Custom "snapshotEnvironment" option

    • new

      benchmark: Support comparing benchmark result

    • new

      browser: Allow injecting scripts

  3. 1.5.3

    30 Apr 20244 fixes
    • 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

  4. 1.5.2

    25 Apr 20241 fix
    • fixed

      Check for null before storing in weakmap

  5. 1.5.1no release note

  6. 1.5.0

    11 Apr 20244 new · 18 fixes
    • 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

  7. 1.4.0

    15 Mar 20247 new · 18 fixes
    • new

      Throw error when using snapshot assertion with not

    • new

      Add a flag to include test location in tasks

    • new

      cli: Support wildcards in --project option

    • new

      config: Add shuffle.files and shuffle.tests options

  8. 1.3.1

    20 Feb 20242 new · 2 fixes
    • 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

1 internal line (docs, tests, tooling) left out.