Packages

jest-mock

30.5.2 · 18 Sep 2026MIT94.8M / weekRepositoryHomepagenpmAtom feed

Upgrading jest-mock From 29.6.0 to 29.7.0

4 releases in betweenevery note read

Other targets from 29.6.0Latest30.5.2
  1. 29.6.0yours
  2. 29.6.1breaking
  3. 29.6.2
  4. 29.6.3breaking
  5. 29.7.0target

Before you upgrade

Tick each one off as you go
  • Breaking29.6.3
  • Breaking29.6.1

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.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

  3. 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. 29.6.1

    Migration needed6 Jul 2023
    • Breaking

      jest-circus: Revert #14110 as it was a breaking change

3 internal lines (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.