v30.0.0-alpha.2
Pre-release
Pre-release
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 #14670
- @tr1ckydev made their first contribution in #14672
- @mattkubej made their first contribution in #14622
- @DaniAcu made their first contribution in #14688
- @RayBrokeSomething made their first contribution in #14697
Full Changelog: v30.0.0-alpha.1...v30.0.0-alpha.2