Packages

@jest/core

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

Your version

24.6.0

1 Apr 2019Where it was published

24.9.0 is the newest release of 24.x.

In short

8 new9 faster14 fixed7 internal

Release note

Features

  • : Improve report when matcher fails, part 13

  • @jest/core: Filter API pre-filter setup hook

  • jest-snapshot: Improve report when matcher fails, part 14

  • @jest/reporter: Display todo and skip test descriptions when verbose is true

  • jest-runner: Support default exports for test environments

  • pretty-format: Support React.Suspense

  • jest-snapshot: Indent inline snapshots

  • jest-config: Support colors in displayName configuration

Fixes

  • jest-circus: Fix test retries with beforeAll/beforeEach failures

  • expect: Fix circular references in iterable equality

  • jest-changed-files: Change method of obtaining git root

  • jest-each: Fix test function type

  • jest-fake-timers: getTimerCount not taking immediates and ticks into account

  • jest-runtime: Allow json file as manual mock

  • pretty-format: Print BigInt as a readable number instead of {}

  • jest-core: Fix ability to transform dependencies required from globalSetup script

  • @jest/reporters: Fix Cannot read property converageData of null

  • jest-worker: JEST_WORKER_ID starts at 1

  • jest-config: Use default cwd even if config contains a cwd property

  • : Remove internal peer dependencies

  • : Remove internal peer dependencies

  • : Remove internal peer dependencies

  • jest-resolve: Fix requireActual with moduleNameMapper

  • jest-haste-map: Fix haste map duplicate detection in watch mode

Performance

  • jest-haste-map: Optimize haste map data structure for serialization/deserialization

  • jest-haste-map: Avoid persisting haste map or processing files when not changed

  • jest-core: Improve performance of SearchSource.findMatchingTests by 15%

  • jest-resolve: Optimize internal cache lookup performance

  • jest-core: Dramatically improve watch mode performance

  • jest-transform: Cache regular expression instead of creating anew for every file in ScriptTransformer

  • jest-core: Fix memory leak of source map info and minor performance improvements

  • jest-console: Fix memory leak by releasing console output reference when printed to stdout

  • jest-runtime: Use Map instead of Object for module registry