Packages

@jest/core

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

Your version

29.6.0

4 Jul 2023Where it was published

29.7.0 is the newest release of 29.x.

In short

1 security4 new14 fixed3 internal

  • security

    *: Update semver dependency to get vulnerability fix

Release note

Features

  • jest-circus, jest-snapshot: Add support for snapshot matchers in concurrent tests

  • jest-cli: Include type definitions to generated config files

  • jest-snapshot: Support arrays as property matchers

  • [jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting about start individual test cases using jest-circus

Fixes

  • jest-circus: Prevent false test failures caused by promise rejections handled asynchronously

  • jest-config: Handle frozen config object

  • jest-config: Allow coverageDirectory and collectCoverageFrom in project config

  • jest-core: Always use workers in watch mode to avoid crashes (#14059).

  • jest-environment-jsdom, jest-environment-node: Fix assignment of customExportConditions via testEnvironmentOptions when custom env subclass defines a default value

  • jest-matcher-utils: Fix copying value of inherited getters

  • jest-mock: Tweak typings to allow jest.replaceProperty() replace methods

  • jest-mock: Improve user input validation and error messages of spyOn and replaceProperty methods

  • jest-runtime: Bind jest.isolateModulesAsync to this

  • jest-runtime: Forward wrapperLength to the Script constructor as columnOffset for accurate debugging

  • jest-runtime: Guard _isMockFunction access with in

  • jest-snapshot: Fix a potential bug when not using prettier and improve performance

  • @jest/transform: Do not instrument .json modules

  • jest-worker: Restart a shut down worker before sending it a task

Chore & Maintenance

  • security

    *: Update semver dependency to get vulnerability fix