Packages

@jest/expect

30.5.2 · 18 Sep 2026MIT58.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @jest/expect From 29.6.1 to 29.7.0

4 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 29.6.1Latest30.5.2

Before you upgrade

Tick each one off as you go
  • breaking29.6.3

Release by release

  1. 29.7.0

    12 Sep 20233 new · 3 fixes
    • new

      create-jest: Add npm init / yarn create initialiser for Jest projects

    • new

      jest-validate: Allow deprecation warnings for unknown options

    • new

      @jest/create-cache-key-function: Cache access of NODE_ENV and BABEL_ENV

    • fixed

      jest-resolver: Replace unmatched capture groups in moduleNameMapper with empty string instead of undefined

    • fixed

      jest-snapshot: Allow for strings as well as template literals in inline snapshots

    • fixed

      @jest/test-sequencer: Calculate test runtime if perStats.duration is missing

  2. 29.6.4

    24 Aug 20232 fixes
    • fixed

      jest-environment-node: Make sure atob and btoa are writeable in Node 20

    • fixed

      jest-worker: Additional error wrapper for parentPort.postMessage to fix unhandled DataCloneError.

  3. 29.6.3

    Migration needed21 Aug 20236 fixes
    • breaking

      jest-mock: Revert #13692 as it was a breaking change

    • fixed

      expect, @jest/expect-utils: ObjectContaining support symbol as key

    • fixed

      expect: Remove @types/node from dependencies

    • fixed

      jest-core: Use workers in watch mode by default to avoid crashes (#14059 & #14085).

    • fixed

      jest-reporters: Update istanbul-lib-instrument dependency to v6.

    • fixed

      @jest/reporters: Marks Reporter's hooks as optional

    • fixed

      jest-runtime: Fix dynamic ESM import module bug when loaded module through jest.isolateModulesAsync

  4. 29.6.2

    27 Jul 20231 new · 4 fixes
    • new

      jest-reporters: Add "skipped" and "todo" symbols to Github Actions Reporter

    • fixed

      jest-circus: Fix snapshot matchers in concurrent tests when nr of tests exceeds maxConcurrency

    • fixed

      @jest/core: When running global setup and teardown, do not try to change the message property of the thrown error object when the message property is unwritable

    • fixed

      jest-snapshot: Move @types/prettier from dependencies to devDependencies

    • fixed

      jest-snapshot: Throw an explicit error if Prettier v3 is used

4 internal lines (docs, tests, tooling) left out.