v30.0.0-alpha.4
版本发布时间: 2024-05-13 05:48:31
jestjs/jest最新发布版本:v30.0.0-alpha.6(2024-08-08 15:46:22)
Features
-
[jest-circus]
Add aretryImmediately
option tojest.retryTimes
(#14696) -
[@jest/core]
Support--outputFile
option for--listTests
(#14980) -
[@jest/environment]
[BREAKING] Remove deprecatedjest.genMockFromModule()
(#15042) -
[@jest/environment]
[BREAKING] Remove unnecessary defensive code (#15045) -
[jest-matcher-utils]
AddSERIALIZABLE_PROPERTIES
to allow custom serialization of objects (#14893) -
[jest-reporters]
Add support for DEC mode 2026 (#15008) -
[jest-runtime]
Supportimport.meta.resolve
(#14930) -
[jest-runtime]
[BREAKING] Make it mandatory to passglobalConfig
to theRuntime
constructor (#15044) -
[@jest/types]
Improve argument type inference passed totest
anddescribe
callback functions fromeach
tables (#14920)
Fixes
-
[expect]
Improve diff for failingexpect.objectContaining
(#15038) -
[jest-changed-files]
Print underlying errors when VCS commands fail (#15052) -
[jest-changed-files]
Abortsl root
call if output resembles a steam locomotive (#15053) -
[jest-each]
Allow$keypath
templates withnull
orundefined
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 onjest-regex-util
(#15030)
Chore & Maintenance
-
[@jest/reporters]
Upgradeistanbul-lib-source-maps
(#14924) -
[jest-util]
Upgradepicomatch
to v4 (#14653 & #14885) -
[docs]
Link NestJS documentation on testing with Jest (#14940)
New Contributors
- @CheadleCheadle made their first contribution in https://github.com/jestjs/jest/pull/14930
- @Germandrummer92 made their first contribution in https://github.com/jestjs/jest/pull/14831
- @hkdobrev made their first contribution in https://github.com/jestjs/jest/pull/14940
- @MathieuFedrigo made their first contribution in https://github.com/jestjs/jest/pull/14920
- @georgekaran made their first contribution in https://github.com/jestjs/jest/pull/14893
- @manoraj made their first contribution in https://github.com/jestjs/jest/pull/14980
- @ShuZhong made their first contribution in https://github.com/jestjs/jest/pull/14957
- @peterdenham made their first contribution in https://github.com/jestjs/jest/pull/14988
- @Vadimchesh made their first contribution in https://github.com/jestjs/jest/pull/14977
- @haze made their first contribution in https://github.com/jestjs/jest/pull/15008
- @ofekm97 made their first contribution in https://github.com/jestjs/jest/pull/14873
- @rmartine-ias made their first contribution in https://github.com/jestjs/jest/pull/15052
- @colinacassidy made their first contribution in https://github.com/jestjs/jest/pull/15038
Full Changelog: https://github.com/jestjs/jest/compare/v30.0.0-alpha.3...v30.0.0-alpha.4