v30.0.0-alpha.2
版本发布时间: 2023-11-16 17:33:06
jestjs/jest最新发布版本:v30.0.0-alpha.6(2024-08-08 15:46:22)
Features
-
[jest-circus, jest-cli, jest-config]
AddwaitNextEventLoopTurnForUnhandledRejectionEvents
flag to minimise performance impact of correct detection of unhandled promise rejections introduced in #14315 (#14681) -
[@jest/core]
AddperfStats
to surface test setup overhead (#14622)
Fixes
-
[jest-config]
SupporttestTimeout
in project config (#14697) -
[@jest/expect-utils]
[BREAKING] exclude non-enumerable in object matching (#14670) -
[@jest/expect-utils]
Fix comparison ofURL
(#14672) -
[@jest/expect-utils]
CheckSymbol
properties in equality (#14688)
Chore & Maintenance
-
[expect]
[BREAKING] Remove.toBeCalled()
,.toBeCalledTimes()
,.toBeCalledWith()
,.lastCalledWith()
,.nthCalledWith()
,.toReturn()
,.toReturnTimes()
,.toReturnWith()
,.lastReturnedWith()
,.nthReturnedWith()
and.toThrowError()
matcher aliases (#14632) -
[jest-config, @jest/core, jest-util]
Upgradeci-info
(#14655) -
[jest-mock]
[BREAKING] RemoveMockFunctionMetadataType
,MockFunctionMetadata
andSpyInstance
types (#14621) -
[jest-transform]
Upgradewrite-file-atomic
(#14274) -
[jest-util]
Upgradepicomatch
to v3 (#14653)
New Contributors
- @fa93hws made their first contribution in https://github.com/jestjs/jest/pull/14670
- @tr1ckydev made their first contribution in https://github.com/jestjs/jest/pull/14672
- @mattkubej made their first contribution in https://github.com/jestjs/jest/pull/14622
- @DaniAcu made their first contribution in https://github.com/jestjs/jest/pull/14688
- @RayBrokeSomething made their first contribution in https://github.com/jestjs/jest/pull/14697
Full Changelog: https://github.com/jestjs/jest/compare/v30.0.0-alpha.1...v30.0.0-alpha.2