v30.0.0-alpha.6
版本发布时间: 2024-08-08 15:46:22
jestjs/jest最新发布版本:v30.0.0-alpha.6(2024-08-08 15:46:22)
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 https://github.com/jestjs/jest/pull/15129
- @BondarenkoAlex made their first contribution in https://github.com/jestjs/jest/pull/15080
- @KonnorRogers made their first contribution in https://github.com/jestjs/jest/pull/15138
- @fynsta made their first contribution in https://github.com/jestjs/jest/pull/15149
- @latin-1 made their first contribution in https://github.com/jestjs/jest/pull/15164
- @Jon-Biz made their first contribution in https://github.com/jestjs/jest/pull/15122
- @RahulARanger made their first contribution in https://github.com/jestjs/jest/pull/15145
- @askoufis made their first contribution in https://github.com/jestjs/jest/pull/15194
- @henny1105 made their first contribution in https://github.com/jestjs/jest/pull/15246
Full Changelog: https://github.com/jestjs/jest/compare/v30.0.0-alpha.5...v30.0.0-alpha.6