Packages

@jest/transform

30.5.2 · 18 Sep 2026MIT80.4M / weekRepositoryHomepagenpmAtom feed

Your version

29.2.0

14 Oct 2022Where it was published

29.7.0 is the newest release of 29.x.

In short

7 new1 faster5 fixed1 changed1 internal

Release note

Features

  • @jest/cli, jest-config: A seed for the test run will be randomly generated, or set by a CLI option

  • @jest/cli, jest-config: --show-seed will display the seed value in the report, and can be set via a CLI flag or through the config file

  • jest-config: Add readInitialConfig utility function

  • jest-core: Allow testResultsProcessor to be async

  • [@jest/environment, jest-environment-node, jest-environment-jsdom, jest-runtime] Add getSeed() to the jest object

  • expect, @jest/expect-utils: Allow isA utility to take a type argument

  • expect: Expose AsyncExpectationResult and SyncExpectationResult types

Fixes

  • babel-plugin-jest-hoist: Ignore TSTypeQuery when checking for hoisted references

  • jest-core: Fix detectOpenHandles false positives for some special objects such as TLSWRAP

  • jest-mock: Fix mocking of getters and setters on classes

  • jest-reporters: Transform file paths into hyperlinks

  • @jest/types: Infer type of each table correctly when the table is a tuple or array

  • @jest/types: Rework typings to allow the *ReturnedWith matchers to be called with no argument

Performance

  • jest-runner: Do not instrument v8 coverage data if coverage should not be collected