Packages

@jest/transform

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

Your version

27.4.0

29 Nov 2021Where it was published

27.5.1 is the newest release of 27.x.

In short

6 new7 fixed4 internal

Release note

Features

  • expect: Enhancing the toHaveProperty matcher to support array selection

  • jest-core: Add support for testResultsProcessor written in ESM

  • jest-diff, pretty-format: Add compareKeys option for custom sorting of object keys

  • jest-mock: Add ts-jest mock util functions

Fixes

  • expect: Allow again expect.Matchers generic with single value

  • jest-circus, jest-jasmine2: Avoid false concurrent test failures due to unhandled promise rejections

  • jest-config: Add missing slash dependency to package.json

  • jest-core: Incorrect detection of open ZLIB handles

  • jest-diff: Break dependency cycle

  • jest-environment-jsdom: Add @types/jsdom dependency

  • jest-environment-jsdom: Do not reset the global.document too early on teardown

  • jest-transform: Improve error and warning messages

  • jest-worker: Pass execArgv correctly to worker_threads worker