Skip to content

v30.0.0-alpha.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@SimenB SimenB released this 12 May 21:48
· 85 commits to main since this release

Features

  • [jest-circus] Add a retryImmediately option to jest.retryTimes (#14696)
  • [@jest/core] Support --outputFile option for --listTests (#14980)
  • [@jest/environment] [BREAKING] Remove deprecated jest.genMockFromModule() (#15042)
  • [@jest/environment] [BREAKING] Remove unnecessary defensive code (#15045)
  • [jest-matcher-utils] Add SERIALIZABLE_PROPERTIES to allow custom serialization of objects (#14893)
  • [jest-reporters] Add support for DEC mode 2026 (#15008)
  • [jest-runtime] Support import.meta.resolve (#14930)
  • [jest-runtime] [BREAKING] Make it mandatory to pass globalConfig to the Runtime constructor (#15044)
  • [@jest/types] Improve argument type inference passed to test and describe callback functions from each tables (#14920)

Fixes

  • [expect] Improve diff for failing expect.objectContaining (#15038)
  • [jest-changed-files] Print underlying errors when VCS commands fail (#15052)
  • [jest-changed-files] Abort sl root call if output resembles a steam locomotive (#15053)
  • [jest-each] Allow $keypath templates with null or undefined values (#14831)
  • [@jest/expect-utils] Catch circular references within arrays when matching objects (#14894)
  • [@jest/expect-utils] Fix not addressing to Sets and Maps as objects without keys (#14873)
  • [jest-util] Add missing dependency on jest-regex-util (#15030)

Chore & Maintenance

  • [@jest/reporters] Upgrade istanbul-lib-source-maps (#14924)
  • [jest-util] Upgrade picomatch to v4 (#14653 & #14885)
  • [docs] Link NestJS documentation on testing with Jest (#14940)

New Contributors

Full Changelog: v30.0.0-alpha.3...v30.0.0-alpha.4