Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
26.0.23
->26.0.24
27.0.4
->27.5.1
Release Notes
facebook/jest
v27.5.1
Compare Source
Features
[jest-config]
Support comments in JSON config file (#12316)[pretty-format]
ExposeConvertAnsi
plugin (#12308)Fixes
[expect]
Add type definitions for asymmetriccloseTo
matcher (#12304)[jest-cli]
Load binary via exported API (#12315)[jest-config]
Replacejsonlint
withparse-json
(#12316)[jest-repl]
Make module importable (#12311 & #12315)Chore & Maintenance
[*]
Avoid anonymous default exports (#12313)v27.5.0
Compare Source
Features
[expect]
Add asymmetric matcherexpect.closeTo
(#12243)[jest-mock]
AddedmockFn.mock.lastCall
to retrieve last argument (#12285)Fixes
[expect]
Add a fix for.toHaveProperty('')
(#12251)[jest-each, @​jest/globals]
Allow passingReadonlyArray
type of a table todescribe.each
andtest.each
(#12297)[@jest/globals]
Add missingoptions
argument tojest.doMock
typing (#12292)[jest-environment-node]
Addatob
andbtoa
(#12269)[jest-matcher-utils]
Correct diff for expected asymmetric matchers (#12264)[jest-message-util]
Fix.getTopFrame()
(andtoMatchInlineSnapshot()
) withmjs
files (#12277)Chore & Maintenance
[*]
Updategraceful-fs
to^4.2.9
(#11749)Performance
[jest-resolve]
perf: skip error creation on not foundstat
calls (#11749)v27.4.7
Compare Source
Fixes
jest-config
Add missing@babel/core
dependency (#12216)v27.4.6
Compare Source
Fixes
[jest-environment-node]
AddAbortSignal
(#12157)[jest-environment-node]
Add Missing node globalperformance
(#12002)[jest-runtime]
Handle missingmocked
property (#12213)[@jest/transform]
Update dependency packagepirates
to 4.0.4 (#12002)Performance
jest-config
perf: only register ts-node once when loading TS config files (#12160)v27.4.5
Compare Source
Fixes
[jest-worker]
Stop explicitly passingprocess.env
(#12141)v27.4.4
Compare Source
Fixes
[babel-jest]
Addprocess.version
chunk to the cache key (#12122)[jest-environment]
Addmocked
tojest
object (#12133)[jest-worker]
Stop explicitly passingexecArgv
(#12128)Chore & Maintenance
[website]
Fix the card front that looks overlapping part of the card backv27.4.3
Compare Source
Fixes
[jest-environment-jsdom]
Remove@types/jsdom
dependency (and make itsdom
propertyprivate
) (#12107)v27.4.2
Compare Source
Fixes
[jest-worker]
Add additionalexecArgv
to filter (#12103)v27.4.1
Compare Source
Fixes
[jest-worker]
FilterexecArgv
correctly (#12097)v27.4.0
Compare Source
Features
[expect]
Enhancing thetoHaveProperty
matcher to support array selection (#12092)[jest-core]
Add support fortestResultsProcessor
written in ESM (#12006)[jest-diff, pretty-format]
AddcompareKeys
option for custom sorting of object keys (#11992)[jest-mock]
Addts-jest
mock util functions (#12089)Fixes
[expect]
Allow againexpect.Matchers
generic with single value (#11986)[jest-circus, jest-jasmine2]
Avoid false concurrent test failures due to unhandled promise rejections (#11987)[jest-config]
Add missingslash
dependency topackage.json
(#12080)[jest-core]
Incorrect detection of open ZLIB handles (#12022)[jest-diff]
Break dependency cycle (#10818)[jest-environment-jsdom]
Add@types/jsdom
dependency (#11999)[jest-environment-jsdom]
Do not reset the global.document too early on teardown (#11871)[jest-transform]
Improve error and warning messages (#11998)[jest-worker]
PassexecArgv
correctly toworker_threads
worker (#12069)Chore & Maintenance
[docs]
CLI options alphabetized (#11586)[jest-runner]
Add info regarding timers to forcedExit message(#12083)[*]
Replacedsubstr
method withsubstring
(#12066)[*]
Addtypes
entry to all export maps (#12073)v27.3.1
Compare Source
Fixes
[expect]
Makeexpect
extension propertiesconfigurable
(#11978)[expect]
Fix.any()
checks on primitive wrapper classes (#11976)Chore & Maintenance
[expect]
BigInt
global is always defined, don't check for its existence at runtime (#11979)[jest-config, jest-util]
Useci-info
instead ofis-ci
to detect CI environment (#11973)v27.3.0
Compare Source
Features
[jest-config]
AddtestEnvironmentOptions.html
to apply to jsdom input (#11950)[jest-resolver]
Support default export (.
) inexports
field ifmain
is missing (#11919)Fixes
[expect]
Tweak and improve types (#11949)[jest-runtime]
Ensure absolute paths can be resolved within test modules (#11943)[jest-runtime]
Fixinstanceof
forModernFakeTimers
andLegacyFakeTimers
methods (#11946)v27.2.5
Compare Source
Features
[jest-config]
Warn when multiple Jest configs are located (#11922)Fixes
[expect]
Pass matcher context to asymmetric matchers (#11926 & #11930)[expect]
Improve TypeScript types (#11931)[expect]
Improve typings oftoThrow()
andtoThrowError()
matchers (#11929)[jest-cli]
Improve--help
printout by removing defunct--browser
option (#11914)[jest-haste-map]
Use distinct cache paths for different values ofcomputeDependencies
(#11916)[@jest/reporters]
Do not bufferconsole.log
s when using verbose reporter (#11054)Chore & Maintenance
[expect]
Export default matchers (#11932)[@jest/types]
Mark deprecated configuration options as@deprecated
(#11913)v27.2.4
Compare Source
Features
[expect]
Add equality checks for Array Buffers inexpect.ToStrictEqual()
(#11805)Fixes
[jest-snapshot]
Correctly indent inline snapshots (#11560)v27.2.3
Compare Source
Features
[@jest/fake-timers]
Update@sinonjs/fake-timers
to v8 (#11879)Fixes
[jest-config]
ParsetestEnvironmentOptions
if received from CLI (#11902)[jest-reporters]
Calldestroy
onv8-to-istanbul
converters to free memory (#11896)v27.2.2
Compare Source
Fixes
[jest-runtime]
CorrectwrapperLength
value for ESM modules. (#11893)v27.2.1
Compare Source
Features
[jest-transform]
Improve the unexpected token error message. (#11807)Fixes
[jest-runtime]
Fix regression when usingjest.isolateModules
and mocks (#11882)[jest-runtime]
Include test name when importing modules after test has completed (#11885)[jest-runtime]
Error when ESM import is used after test is torn down (#11885)v27.2.0
Compare Source
Features
[jest-resolver, jest-runtime]
Passconditions
to custom resolvers to enable them to implement support for package.jsonexports
field (#11859)[jest-runtime]
Allow custom envs to specifyexportConditions
which is passed together with Jest's own conditions to custom resolvers (#11863)Fixes
[@jest/reporters]
Use async transform if available to transform files with no coverage (#11852)[jest-util]
Return correct value fromprocess.send
stub (#11799)v27.1.1
Compare Source
Features
[jest-runtime]
Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)Fixes
[jest-resolver]
Supportnode:
prefix when importing Node core modules with ESM (#11817)[jest-types]
Export thePrettyFormatOptions
interface (#11801)v27.1.0
Compare Source
Features
[jest-haste-map]
Use watchman suffix-set option for faster file indexing. (#11784)[jest-cli]
Adds a new config optionssnapshotFormat
which offers a way to override any of the formatting settings which come with pretty-format. (#11654)[jest-reporters]
Expose thegetSummary
util (#11695).[jest-resolver]
Supportnode:
prefix when importing Node core modules (#11331)Fixes
[jest-each]
Relaxed the validation to allow multibyte characters in headings (#11575)[jest-environment-jsdom]
Add support foruserAgent
option (#11773)[jest-environment-node]
AddEvent
andEventTarget
to node global environment. (#11727)[jest-mock]
FixspyOn
to useObject.prototype.hasOwnProperty
(#11721)[jest-resolver]
Add dependency onjest-haste-map
(#11759)[jest-types]
Compat with@types/node
v16 (#11645)Chore & Maintenance
[docs]
Correctexpects.assertions
documentation by adding async/await for asynchronous function.v27.0.6
Compare Source
Fixes
[*]
Publish all modules to include the build change in (#11569)v27.0.5
Compare Source
Features
[@jest/fake-timers]
Flush callbacks scheduled withrequestAnimationFrame
every 16ms when using legacy timers. (#11567)[pretty-format]
UseglobalThis
(with polyfill if required) to bring support for esbuild's browser bundling mode (#11569)Fixes
[jest-core]
Support special characters like@
,+
and()
on Windows with--findRelatedTests
(#11548)[@jest/fake-timers]
Do not addsetImmediate
andclearImmediate
if they do not exist in the global environment (#11599)[@jest/reporters]
Allownode-notifier@10
as peer dependency (#11523)[@jest/reporters]
Updatev8-to-istanbul
(#11523)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.