Update dependency jest-environment-jsdom to v29.2.1 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
jest-environment-jsdom | 29.0.3 -> 29.2.1 |
Release Notes
facebook/jest
v29.2.1
Features
-
[@jest/globals, jest-mock]
Addjest.Spied*
utility types (#13440)
Fixes
-
[jest-environment-node]
makeglobalThis.performance
writable for Node 19 and fake timers (#13467) -
[jest-mock]
Revert #13398 to restore mocking of setters (#13472)
Performance
-
[*]
Use sha1 instead of sha256 for hashing (#13421)
v29.2.0
Features
-
[@jest/cli, jest-config]
A seed for the test run will be randomly generated, or set by a CLI option (#13400) -
[@jest/cli, jest-config]
--show-seed
will display the seed value in the report, and can be set via a CLI flag or through the config file (#13400) -
[jest-config]
AddreadInitialConfig
utility function (#13356) -
[jest-core]
AllowtestResultsProcessor
to be async (#13343) -
[@jest/environment, jest-environment-node, jest-environment-jsdom, jest-runtime]
AddgetSeed()
to thejest
object (#13400) -
[expect, @​jest/expect-utils]
AllowisA
utility to take a type argument (#13355) -
[expect]
ExposeAsyncExpectationResult
andSyncExpectationResult
types (#13411)
Fixes
-
[babel-plugin-jest-hoist]
IgnoreTSTypeQuery
when checking for hoisted references (#13367) -
[jest-core]
FixdetectOpenHandles
false positives for some special objects such asTLSWRAP
(#13414) -
[jest-mock]
Fix mocking of getters and setters on classes (#13398) -
[jest-reporters]
Revert: Transform file paths into hyperlinks (#13399) -
[@jest/types]
Infer type ofeach
table correctly when the table is a tuple or array (#13381) -
[@jest/types]
Rework typings to allow the*ReturnedWith
matchers to be called with no argument (#13385)
Chore & Maintenance
-
[*]
Update@babel/*
deps, resulting in slightly different stack traces foreach
(#13422)
Performance
-
[jest-runner]
Do not instrument v8 coverage data if coverage should not be collected (#13282)
v29.1.2
Fixes
-
[expect, @​jest/expect]
Revert buggy inference of argument types for*CalledWith
and*ReturnedWith
matchers introduced in 29.1.0 (#13339) -
[jest-worker]
Add missing dependency onjest-util
(#13341)
v29.1.1
Fixes
-
[jest-mock]
Revert #13145 which broke mocking of transpiled ES modules
v29.1.0
Features
-
[expect, @​jest/expect]
Support type inference for function parameters inCalledWith
assertions (#13268) -
[expect, @​jest/expect]
Infer type of*ReturnedWith
matchers argument (#13278) -
[@jest/environment, jest-runtime]
Allowjest.requireActual
andjest.requireMock
to take a type argument (#13253) -
[@jest/environment]
Allowjest.mock
andjest.doMock
to take a type argument (#13254) -
[@jest/fake-timers]
Addjest.now()
to return the current fake clock time (#13244, #13246) -
[@jest/mock]
AddwithImplementation
method for temporarily overriding a mock (#13281) -
[expect]
ExporttoThrow*
matchers (#13328)
Fixes
-
[jest-circus, jest-jasmine2]
Fix error messages for Node'sassert.throes
(#13322) -
[jest-haste-map]
Remove__proto__
usage (#13256) -
[jest-mock]
ImprovespyOn
typings to handle optional properties (#13247) -
[jest-mock]
Fix mocking of getters and setters on classes (#13145) -
[jest-snapshot]
Throw useful error when an array is passed as property matchers (#13263) -
[jest-snapshot]
Prioritize parser used in the project (#13323) -
[jest-transform]
Attempt to work around issues with atomic writes on Windows (#11423)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by igswsihw-wmadepbot