Packages

@jest/core

30.5.2 · 18 Sep 2026MIT60.2M / weekRepositoryHomepagenpmAtom feed

Upgrading @jest/core From 26.2.2 to 26.6.3

11 releases in betweenevery note read

Other targets from 26.2.2Latest30.5.2
  1. 26.2.2yours
  2. 26.3.0breaking
  3. 2 releases
  4. 26.4.2breaking
  5. 6 releases
  6. 26.6.3target

Before you upgrade

Tick each one off as you go
  • breaking26.4.2
  • breaking26.3.0

Release by release

  1. 26.6.3

    4 Nov 20201 fix
    • fixed

      jest-resolve-dependencies: Continue dependency resolution if mock dependency can't be found

  2. 26.6.2

    2 Nov 20201 new · 11 fixes
    • new

      jest-core: Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins

    • fixed

      babel-plugin-jest-hoist: Preserve order of hoisted mock nodes within containing block

    • fixed

      babel-plugin-jest-hoist: Hoist pure constants to support experimental JSX transform in hoisted mocks

    • fixed

      babel-preset-jest: Update babel-preset-current-node-syntax to support top level await

  3. 26.6.1

    23 Oct 20202 new · 5 fixes
    • new

      jest-runtime: Support named exports from CommonJS as named ES Module imports

    • new

      jest-validate: Add support for recursiveDenylist option as an alternative to recursiveBlacklist

    • fixed

      expect: Fix objectContaining to work recursively into sub-objects

    • fixed

      jest-cli, jest-core, jest-config, jest-types: Fix --onlyFailures flag to work in non-watch mode

    • fixed

      jest-config: Fix for the jest.config.ts compiler to not interfere with tsconfig.json files

    • fixed

      jest-message-util: Update to work properly with Node 15

    • fixed

      jest-mock: Allow to mock methods in getters (TypeScript 3.9 export)

  4. 26.6.0

    19 Oct 20202 new · 3 fixes
    • new

      jest-cli, jest-config: Add support for the jest.config.ts configuration file

    • new

      @jest/types: Add missing values for timers

    • fixed

      jest-config: Simplify transform RegExp

    • fixed

      jest-fake-timers: Lazily instantiate mock timers

    • fixed

      jest-runtime: require.main is no longer undefined when using jest.resetModules

  5. 26.5.3

    11 Oct 20203 new · 4 fixes
    • new

      jest-runtime: Add support for dynamic import() from CommonJS

    • new

      jest-runtime: Add missing module.path property

    • new

      jest-runtime: Add mainModule instance variable to runtime

    • fixed

      jest-runner, jest-runtime: require.main should not be undefined with createRequire()

    • fixed

      jest-runtime: Evaluate Node core modules on dynamic import()

    • fixed

      jest-validate: Show suggestion only when unrecognized cli param is longer than 1 character

    • fixed

      jest-validate: Validate testURL as CLI option

  6. 26.5.2

    6 Oct 20203 fixes
    • fixed

      *: Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13

    • fixed

      jest-circus: Setup globals before emitting setup, and include Jest globals in the setup payload

    • fixed

      jest-mock: Fix typings for mockResolvedValue, mockResolvedValueOnce, mockRejectedValue and mockRejectedValueOnce

  7. 26.5.0

    5 Oct 20204 new · 4 fixes
    • new

      jest-circus, jest-config, jest-runtime: Add new injectGlobals config and CLI option to disable injecting global variables into the runtime

    • new

      jest-runner: Add support for moduleLoaders with default exports

    • new

      @jest/create-cache-key-function: Added a new package for creating cache keys

    • new

      jest-console: Add Console constructor to console object

  8. 26.4.2

    Migration needed22 Aug 20201 fix
    • breaking

      pretty-format: Lower minimum node version to >= 10

    • fixed

      expect: Fix toMatchObject to work with inherited class getters

1 other line we could not sort, mostly version bumps
  • expect: Revert "Fix objectContaining to work recursively into sub-objects (#10508)"

    26.6.2

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