v29.6.0
版本发布时间: 2023-07-04 23:27:00
jestjs/jest最新发布版本:v30.0.0-alpha.6(2024-08-08 15:46:22)
Features
-
[jest-circus, jest-snapshot]
Add support for snapshot matchers in concurrent tests (#14139) -
[jest-cli]
Include type definitions to generated config files (#14078) -
[jest-snapshot]
Support arrays as property matchers (#14025) -
[jest-core, jest-circus, jest-reporter, jest-runner]
Added support for reporting about start individual test cases using jest-circus (#14174)
Fixes
-
[jest-circus]
Prevent false test failures caused by promise rejections handled asynchronously (#14110) -
[jest-config]
Handle frozen config object (#14054) -
[jest-config]
AllowcoverageDirectory
andcollectCoverageFrom
in project config (#14180) -
[jest-core]
Always use workers in watch mode to avoid crashes (#14059). -
[jest-environment-jsdom, jest-environment-node]
Fix assignment ofcustomExportConditions
viatestEnvironmentOptions
when custom env subclass defines a default value (#13989) -
[jest-matcher-utils]
Fix copying value of inherited getters (#14007) -
[jest-mock]
Tweak typings to allowjest.replaceProperty()
replace methods (#14008) -
[jest-mock]
Improve user input validation and error messages ofspyOn
andreplaceProperty
methods (#14087) -
[jest-runtime]
Bindjest.isolateModulesAsync
tothis
(#14083) -
[jest-runtime]
ForwardwrapperLength
to theScript
constructor ascolumnOffset
for accurate debugging (#14148) -
[jest-runtime]
Guard_isMockFunction
access within
(#14188) -
[jest-snapshot]
Fix a potential bug when not using prettier and improve performance (#14036) -
[@jest/transform]
Do not instrument.json
modules (#14048)
Chore & Maintenance
-
[*]
Updatesemver
dependency to get vulnerability fix (#14262) -
[docs]
Updated documentation for the--runTestsByPath
CLI command (#14004) -
[docs]
Updated documentation regarding the synchronous fallback when asynchronous code transforms are unavailable (#14056) -
[docs]
Update jest statistics of use and downloads in website Index.
New Contributors
- @huntie made their first contribution in https://github.com/jestjs/jest/pull/13989
- @liammulh made their first contribution in https://github.com/jestjs/jest/pull/14001
- @BenceSzalai made their first contribution in https://github.com/jestjs/jest/pull/14007
- @Mike-Dax made their first contribution in https://github.com/jestjs/jest/pull/14056
- @bakasmarius made their first contribution in https://github.com/jestjs/jest/pull/14025
- @PeteTheHeat made their first contribution in https://github.com/jestjs/jest/pull/14015
- @tjenkinson made their first contribution in https://github.com/jestjs/jest/pull/14083
- @soyjuanmacias made their first contribution in https://github.com/jestjs/jest/pull/14101
- @bharathkalyans made their first contribution in https://github.com/jestjs/jest/pull/14154
- @itzjacki made their first contribution in https://github.com/jestjs/jest/pull/14165
- @DmitryMakhnev made their first contribution in https://github.com/jestjs/jest/pull/14174
- @BobdenOs made their first contribution in https://github.com/jestjs/jest/pull/14148
- @william-lai-927 made their first contribution in https://github.com/jestjs/jest/pull/14179
- @bakamitai456 made their first contribution in https://github.com/jestjs/jest/pull/14045
- @rbuckton made their first contribution in https://github.com/jestjs/jest/pull/14188
- @barbados-clemens made their first contribution in https://github.com/jestjs/jest/pull/14180
- @rburdet made their first contribution in https://github.com/jestjs/jest/pull/14197
- @cw1997 made their first contribution in https://github.com/jestjs/jest/pull/14184
- @renovate made their first contribution in https://github.com/jestjs/jest/pull/14209
- @stekycz made their first contribution in https://github.com/jestjs/jest/pull/14110
- @ziyad-elabid-nw made their first contribution in https://github.com/jestjs/jest/pull/14262
Full Changelog: https://github.com/jestjs/jest/compare/v29.5.0...v29.6.0