v29.4.0
版本发布时间: 2023-01-24 18:57:14
jestjs/jest最新发布版本:v30.0.0-alpha.6(2024-08-08 15:46:22)
Features
-
[expect, @jest/expect-utils]
Support custom equality testers (#13654) -
[jest-config, jest-worker]
Useos.availableParallelism
if available to calculate number of workers to spawn (#13738) -
[@jest/globals, jest-mock]
Addjest.replaceProperty()
that replaces property value (#13496) -
[jest-haste-map]
ignore Sapling vcs directories (.sl/
) (#13674) -
[jest-resolve]
Support subpath imports (#13705, #13723, #13777) -
[jest-runtime]
Addjest.isolateModulesAsync
for scoped module initialization of asynchronous functions (#13680) -
[jest-runtime]
Addjest.isEnvironmentTornDown
function (#13741) -
[jest-test-result]
Addedskipped
andfocused
status toFormattedTestResult
(#13700) -
[jest-transform]
Support for asynchronouscreateTransformer
(#13762)
Fixes
-
[jest-environment-node]
Fix non-configurable globals (#13687) -
[@jest/expect-utils]
toMatchObject
should handleSymbol
properties (#13639) -
[jest-mock]
FixmockReset
andresetAllMocks
undefined
return value(#13692) -
[jest-resolve]
Add global paths torequire.resolve.paths
(#13633) -
[jest-resolve]
Correct node core module detection when usingnode:
specifiers (#13806) -
[jest-runtime]
Support WASM files that import JS resources (#13608) -
[jest-runtime]
Use thescriptTransformer
cache injest-runner
(#13735) -
[jest-runtime]
Enforce import assertions when importing JSON in ESM (#12755 & #13805) -
[jest-snapshot]
Make sure to importbabel
outside of the sandbox (#13694) -
[jest-transform]
Ensure the correct configuration is passed to preprocessors specified multiple times in thetransform
option (#13770)
Chore & Maintenance
-
[@jest/fake-timers]
Update@sinonjs/fake-timers
(#13612) -
[docs]
Improve custom puppeteer example to prevent worker warnings (#13619)
New Contributors
- @lvqq made their first contribution in https://github.com/facebook/jest/pull/13633
- @zjfresh made their first contribution in https://github.com/facebook/jest/pull/13682
- @rnwst made their first contribution in https://github.com/facebook/jest/pull/13635
- @overlookmotel made their first contribution in https://github.com/facebook/jest/pull/13687
- @mmanciop made their first contribution in https://github.com/facebook/jest/pull/13680
- @Jeroendevr made their first contribution in https://github.com/facebook/jest/pull/13428
- @falsyvalues made their first contribution in https://github.com/facebook/jest/pull/13619
- @vegerot made their first contribution in https://github.com/facebook/jest/pull/13674
- @faustAbc made their first contribution in https://github.com/facebook/jest/pull/13331
- @valentincostam made their first contribution in https://github.com/facebook/jest/pull/13634
- @unional made their first contribution in https://github.com/facebook/jest/pull/13721
- @andrewiggins made their first contribution in https://github.com/facebook/jest/pull/13654
- @michal-kocarek made their first contribution in https://github.com/facebook/jest/pull/13496
- @jdufresne made their first contribution in https://github.com/facebook/jest/pull/13469
- @feliperli made their first contribution in https://github.com/facebook/jest/pull/13692
- @bob-zs made their first contribution in https://github.com/facebook/jest/pull/13740
- @MasterOdin made their first contribution in https://github.com/facebook/jest/pull/13743
- @kalyncoose made their first contribution in https://github.com/facebook/jest/pull/13746
- @arash-hacker made their first contribution in https://github.com/facebook/jest/pull/13747
- @jomendez made their first contribution in https://github.com/facebook/jest/pull/13741
- @coffeebeats made their first contribution in https://github.com/facebook/jest/pull/13770
- @lachrist made their first contribution in https://github.com/facebook/jest/pull/13762
- @lukeed made their first contribution in https://github.com/facebook/jest/pull/13777
Full Changelog: https://github.com/facebook/jest/compare/v29.3.1...v29.4.0