v30.0.0-alpha.6
Pre-release
Pre-release
Features
[babel-jest]
Add optionexcludeJestPreset
to allow opting out ofbabel-preset-jest
(#15164)[jest-circus, jest-test-result]
AddstartedAt
timestamp inTestCaseResultObject
withinonTestCaseResult
(#15145)[jest-config]
ShowrootDir
in error message when apreset
fails to load (#15194)[jest-config]
Support loading TS config files usingesbuild-register
via docblock loader (#15190)[jest-config]
allow passing TS config loader options via docblock comment (#15234)[expect, @jest/expect]
[BREAKING] Add type inference for function parameters inCalledWith
assertions (#15129)[@jest/expect-utils]
Properly compare all types ofTypedArray
s (#15178)[jest-resolver]
Supportfile://
URLs as paths (#15154)[jest-runtime]
Addunstable_unmockModule
(#15080)[expect]
UseArray.isArray
to check if an array is anArray
(#15101)[@jest/create-cache-key-function]
Correct the return type ofcreateCacheKey
(#15159)[pretty-format]
Fixed a bug where "anonymous custom elements" were not being printed as expected. (#15138)[jest-worker]
Properly handle a circular reference error when worker tries to send an assertion fails where either the expected or actual value is circular (#15191)[jest-worker]
Properly handle a BigInt when worker tries to send an assertion fails where either the expected or actual value is BigInt (#15191)
Performance
[jest-runner]
Better cleanupsource-map-support
after test to resolve (minor) memory leak (#15233)
Chore & Maintenance
[*]
[BREAKING] Drop support for Node.js versions 14, 19 and 21 (#14460, #15118)[babel-jest, @jest/transform]
Updatebabel-plugin-istanbul
to v6 (#15156)[babel-plugin-jest-hoist]
Move unnecessarydependencies
todevDependencies
(#15010)
New Contributors
- @eyalroth made their first contribution in #15129
- @BondarenkoAlex made their first contribution in #15080
- @KonnorRogers made their first contribution in #15138
- @fynsta made their first contribution in #15149
- @latin-1 made their first contribution in #15164
- @Jon-Biz made their first contribution in #15122
- @RahulARanger made their first contribution in #15145
- @askoufis made their first contribution in #15194
- @henny1105 made their first contribution in #15246
Full Changelog: v30.0.0-alpha.5...v30.0.0-alpha.6