frontmatter-markdown-loader
frontmatter-markdown-loader copied to clipboard
Update dependency jest to v30
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| jest (source) | 27.5.1 -> 30.0.2 |
Release Notes
jestjs/jest (jest)
v30.0.2
v30.0.1
v30.0.0
v29.7.0
Features
[create-jest]Addnpm init/yarn createinitialiser for Jest projects (#β14465)[jest-validate]Allow deprecation warnings for unknown options (#β14499)
Fixes
[jest-resolver]Replace unmatched capture groups inmoduleNameMapperwith empty string instead ofundefined(#β14507)[jest-snapshot]Allow for strings as well as template literals in inline snapshots (#β14465)[@jest/test-sequencer]Calculate test runtime ifperStats.durationis missing (#β14473)
Performance
[@jest/create-cache-key-function]Cache access ofNODE_ENVandBABEL_ENV(#β14455)
Chore & Maintenance
[jest-cli]Move internal config initialisation logic to thecreate-jestpackage (#β14465)
v29.6.4
Fixes
[jest-core]Fix typo inscheduleAndRunperformance marker (#β14434)[jest-environment-node]Make sureatobandbtoaare writeable in Node 20 (#β14446)[jest-worker]Additional error wrapper forparentPort.postMessageto fix unhandledDataCloneError. (#β14437)
v29.6.3
Fixes
[expect, @​jest/expect-utils]ObjectContainingsupportsumbolas key (#β14414)[expect]Remove@types/nodefrom dependencies (#β14385)[jest-core]Use workers in watch mode by default to avoid crashes (#β14059 & #β14085).[jest-reporters]Updateistanbul-lib-instrumentdependency to v6. (#β14401)[jest-mock]Revert #β13692 as it was a breaking change (#β14429)[jest-mock]Revert #β13866 as it was a breaking change (#β14429)[jest-mock]Revert #β13867 as it was a breaking change (#β14429)[@jest/reporters]Marks Reporter's hooks as optional (#β14433)[jest-runtime]Fix dynamic ESM import module bug when loaded module throughjest.isolateModulesAsync(#β14397)
Chore & Maintenance
[jest-changed-files, jest-circus, jest-console, @​jest/core, @​jest/runtime, @​jest/transform]UseinvariantandnotEmptyfromjest-utilrather than own internal (#β14366)
v29.6.2
Fixes
[jest-circus]Fix snapshot matchers in concurrent tests when nr of tests exceedsmaxConcurrency(#β14335)[@jest/core]When running global setup and teardown, do not try to change themessageproperty of the thrown error object when themessageproperty is unwritable (#β14113)[jest-snapshot]Move@types/prettierfromdependenciestodevDependencies(#β14328)[jest-snapshot]Throw an explicit error if Prettier v3 is used (#β14367)[jest-reporters]Add "skipped" and "todo" symbols to Github Actions Reporter (#β14309)
Chore & Maintenance
[@jest/core]Usepluralizefromjest-utilrather than own internal (#β14322)
v29.6.1
Fixes
v29.6.0
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-runtime, jest-resolve]Allow core modules to be mocked with thenode:URL scheme (#β14297)[jest-circus]Prevent false test failures caused by promise rejections handled asynchronously (#β14110)[jest-config]Handle frozen config object (#β14054)[jest-config]AllowcoverageDirectoryandcollectCoverageFromin project config (#β14180)[jest-core]Always use workers in watch mode to avoid crashes (#β14059).[jest-environment-jsdom, jest-environment-node]Fix assignment ofcustomExportConditionsviatestEnvironmentOptionswhen 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 ofspyOnandreplacePropertymethods (#β14087)[jest-runtime]Bindjest.isolateModulesAsynctothis(#β14083)[jest-runtime]ForwardwrapperLengthto theScriptconstructor ascolumnOffsetfor accurate debugging (#β14148)[jest-runtime]Guard_isMockFunctionaccess within(#β14188)[jest-snapshot]Fix a potential bug when not using prettier and improve performance (#β14036)[jest-snapshot][BREAKING] Insert direct link to docs in snapshots instead of broken URL shortener (#β14081)[@jest/transform]Do not instrument.jsonmodules (#β14048)[jest-worker]Restart a shut down worker before sending it a task (#β14015)
Chore & Maintenance
[*]Updatesemverdependency to get vulnerability fix (#β14262)[docs]Updated documentation for the--runTestsByPathCLI 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.
v29.5.0
Features
[jest-changed-files]Support Sapling (#β13941)[jest-circus, @​jest/cli, jest-config]Add feature to randomize order of tests via CLI flag or through the config file(#β12922)[jest-cli, jest-config, @​jest/core, jest-haste-map, @​jest/reporters, jest-runner, jest-runtime, @​jest/types]AddworkerThreadsconfiguration option to allow using worker threads for parallelization (#β13939)[jest-cli]ExportyargsOptions(#β13970)[jest-config]AddopenHandlesTimeoutoption to configure possible open handles warning. (#β13875)[@jest/create-cache-key-function]Allow passinglengthargument tocreateCacheKey()function and set its default value to16on Windows (#β13827)[jest-message-util]Add support for AggregateError (#β13946 & #β13947)[jest-message-util]Add support for Error causes intestandit(#β13935 & #β13966)[jest-reporters]AddsummaryThresholdoption to summary reporter to allow overriding the internal threshold that is used to print the summary of all failed tests when the number of test suites surpasses it (#β13895)[jest-runtime]Expose@sinonjs/fake-timersasync APIs functionsadvanceTimersByTimeAsync(msToRun)(tickAsync(msToRun)),advanceTimersToNextTimerAsync(steps)(nextAsync),runAllTimersAsync(runAllAsync), andrunOnlyPendingTimersAsync(runToLastAsync) (#β13981)[jest-runtime, @​jest/transform]Allow V8 coverage provider to collect coverage from files which were not loaded explicitly (#β13974)[jest-snapshot]Add support toctsandmtsTypeScript files to inline snapshots (#β13975)[jest-worker]Addstartmethod to worker farms (#β13937)[jest-worker]Support passing a URL as path to worker (#β13982)
Fixes
[babel-plugin-jest-hoist]Fix unwanted hoisting of nestedjestusages (#β13952)[jest-circus]Send test case results fortodotests (#β13915)[jest-circus]Update message printed on test timeout (#β13830)[jest-circus]Avoid creating the word "testfalse" whentakesDoneCallbackisfalsein the message printed on test timeout AND updated timeouts test (#β13954)[jest-environment-jsdom]Stop settingdocumenttonullon teardown (#β13972)[@jest/expect-utils]UpdatetoStrictEqual()to be able to checkjest.fn().mock.calls(#β13960)[@jest/test-result]AllowTestResultsProcessortype to return a Promise (#β13950)
Chore & Maintenance
[jest-snapshot]Remove dependency onjest-haste-map(#β13977)
v29.4.3
Features
[expect]UpdatetoThrow()to be able to use errorcauses (#β13606)[jest-core]allow to useworkerIdleMemoryLimitwith only 1 worker orrunInBandoption (#β13846)[jest-message-util]Add support for errorcauses (#β13868 & #β13912)[jest-runtime]Revertimport assertionsfor JSON modules as it's been relegated to Stage 2 (#β13911)
Fixes
[@jest/expect-utils]subsetEqualityshould consider also an object's inherited string keys (#β13824)[jest-mock]Clear mock state whenjest.restoreAllMocks()is called (#β13867)[jest-mock]PreventmockImplementationOnceandmockReturnValueOncebleeding intowithImplementation(#β13888)[jest-mock]Do not restore mocks whenjest.resetAllMocks()is called (#β13866)
v29.4.2
Features
[@jest/core]Instrument significant lifecycle events withperformance.mark()(#β13859)
Fixes
[expect, @​jest/expect]Provide type ofactualas a generic argument toMatchersto allow better-typed extensions (#β13848)[jest-circus]Added explicit mention of test failing becausedone()is not being called in error message (#β13847)[jest-runtime]Handle CJS re-exports of node core modules from ESM (#β13856)[jest-transform]Downgradewrite-file-atomicto v4 (#β13853)[jest-worker]Ignore IPC messages not intended for Jest (#β13543)
Chore & Maintenance
[*]make sure to exclude.eslintcachefrom published module (#β13832)[docs]Cleanup incorrect links in CHANGELOG.md (#β13857)
v29.4.1
Features
[expect, jest-circus, @​jest/types]ImplementnumPassingAssertsof testResults to track the number of passing asserts in a test (#β13795)[jest-core]Add newlines to JSON output (#β13817)[@jest/reporters]Automatic log folding in GitHub Actions Reporter (#β13626)
Fixes
[@jest/expect-utils]toMatchObjectdiffs should includeSymbolproperties (#β13810)[jest-runtime]Handle missingreplaceProperty(#β13823)[@jest/types]Add partial support fordonecallbacks in typings ofeach(#β13756)
v29.4.0
Features
[expect, @​jest/expect-utils]Support custom equality testers (#β13654)[jest-config, jest-worker]Useos.availableParallelismif 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.isolateModulesAsyncfor scoped module initialization of asynchronous functions (#β13680)[jest-runtime]Addjest.isEnvironmentTornDownfunction (#β13741)[jest-test-result]Addedskippedandfocusedstatus toFormattedTestResult(#β13700)[jest-transform]Support for asynchronouscreateTransformer(#β13762)
Fixes
[jest-environment-node]Fix non-configurable globals (#β13687)[@jest/expect-utils]toMatchObjectshould handleSymbolproperties (#β13639)[jest-mock]FixmockResetandresetAllMocksundefinedreturn 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 thescriptTransformercache injest-runner(#β13735)[jest-runtime]Enforce import assertions when importing JSON in ESM (#β12755 & #β13805)[jest-snapshot]Make sure to importbabeloutside of the sandbox (#β13694)[jest-transform]Ensure the correct configuration is passed to preprocessors specified multiple times in thetransformoption (#β13770)
Chore & Maintenance
[@jest/fake-timers]Update@sinonjs/fake-timers(#β13612)[docs]Improve custom puppeteer example to prevent worker warnings (#β13619)
v29.3.1
Fixes
[jest-config]Do not warn aboutpresetinProjectConfig(#β13583)
Performance
[jest-transform]Defer creation of cache directory (#β13420)
v29.3.0
Features
[jest-runtime]Support WebAssembly (Wasm) imports in ESM modules (#β13505)
Fixes
[jest-config]Add config validation forprojectsoption (#β13565)[jest-mock]Treat cjs modules as objects so they can be mocked (#β13513)[jest-worker]Throw an error instead of hanging when jest workers terminate unexpectedly (#β13566)
Chore & Maintenance
[@jest/transform]Updateconvert-source-map(#β13509)[docs]MentiontoStrictEqualin UsingMatchers docs. (#β13560)
v29.2.2
Fixes
[@jest/test-sequencer]Make sure sharding does not produce empty groups (#β13476)[jest-circus]Test marked astodoare shown as todo when inside a focussed describe (#β13504)[jest-mock]Ensure mock resolved and rejected values are promises from correct realm (#β13503)[jest-snapshot]Don't highlight passing asymmetric property matchers in snapshot diff (#β13480)
Chore & Maintenance
[docs]Update link to Jest 28 upgrade guide in error message (#β13483)[jest-runner, jest-watcher]Updateemittery(#β13490)
v29.2.1
Features
[@jest/globals, jest-mock]Addjest.Spied*utility types (#β13440)
Fixes
[jest-environment-node]makeglobalThis.performancewritable 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-seedwill display the seed value in the report, and can be set via a CLI flag or through the config file (#β13400)[jest-config]AddreadInitialConfigutility function (#β13356)[jest-core]AllowtestResultsProcessorto be async (#β13343)[@jest/environment, jest-environment-node, jest-environment-jsdom, jest-runtime]AddgetSeed()to thejestobject (#β13400)[expect, @​jest/expect-utils]AllowisAutility to take a type argument (#β13355)[expect]ExposeAsyncExpectationResultandSyncExpectationResulttypes (#β13411)
Fixes
[babel-plugin-jest-hoist]IgnoreTSTypeQuerywhen checking for hoisted references (#β13367)[jest-core]FixdetectOpenHandlesfalse 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 ofeachtable correctly when the table is a tuple or array (#β13381)[@jest/types]Rework typings to allow the*ReturnedWithmatchers 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*CalledWithand*ReturnedWithmatchers 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 inCalledWithassertions (#β13268)[expect, @​jest/expect]Infer type of*ReturnedWithmatchers argument (#β13278)[@jest/environment, jest-runtime]Allowjest.requireActualandjest.requireMockto take a type argument (#β13253)[@jest/environment]Allowjest.mockandjest.doMockto take a type argument (#β13254)[@jest/fake-timers]Addjest.now()to return the current fake clock time (#β13244, #β13246)[@jest/mock]AddwithImplementationmethod 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]ImprovespyOntypings 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)
v29.0.3
Features
[@jest/environment, jest-runtime]Allow passing a generic type argument tojest.createMockFromModule<T>()method (#β13202)[expect]ExposeExpectationResulttype (#β13240)[jest-snapshot]ExposeContexttype (#β13240)[@jest/globals]Addjest.Mocktype helper (#β13235)
Fixes
[jest-core]CaptureexecErrorduringTestScheduler.scheduleTestsand dispatch to reporters (#β13203)[jest-resolve]Make sure to resolve module paths after looking atexports(#β13242)[jest-resolve]Improve error on module not found deep in therequirestack (#β8704)[jest-snapshot]Fix typings of snapshot matchers (#β13240)
Chore & Maintenance
[*]Fix inconsistent workspace prefixes (#β13217)[jest-haste-map]Expose a minimal public API to TypeScript (#β13023)
v29.0.2
Features
[jest-transform]ExposeTransformFactorytype (#β13184)
Fixes
[babel-plugin-jest-hoist]Support importedjestin mock factory (#β13188)[jest-mock]Align the behavior and return type ofgenerateFromMetadatamethod (#β13207)[jest-runtime]Supportjest.resetModules()with ESM (#β13211)
v29.0.1
Fixes
[jest-snapshot]PasssnapshotFormatthrough when diffing snapshots (#β13181)
v29.0.0
Features
[expect][BREAKING] Differentiate betweenMatcherContextMatcherUtilsandMatcherStatetypes (#β13141)[jest-circus]Add support fortest.failing.each(#β13142)[jest-config][BREAKING] MakesnapshotFormatdefault toescapeString: falseandprintBasicPrototype: false(#β13036)[jest-config][BREAKING] Remove undocumentedcollectCoverageOnlyFromoption (#β13156)[jest-environment-jsdom][BREAKING] Upgrade tojsdom@20(#β13037, #β13058)[@jest/globals]Addjest.Mocked,jest.MockedClass,jest.MockedFunctionandjest.MockedObjectutility types (#β12727)[jest-mock][BREAKING] RefactorMocked*utility types.MaybeMockedDeepandMaybeMockedbecameMockedandMockedShallowrespectively; only deep mocked variants ofMockedClass,MockedFunctionandMockedObjectare exported (#β13123, #β13124)[jest-mock][BREAKING] Change the defaultjest.mockedhelperβs behavior to deep mocked (#β13125)[jest-snapshot][BREAKING] Letbabelfind config when updating inline snapshots (#β13150)[@jest/test-result, @​jest/types][BREAKING] ReplaceBytesandMillisecondstypes withnumber(#β13155)[jest-worker]AddsworkerIdleMemoryLimitoption which is used as a check for worker memory leaks >= Node 16.11.0 and recycles child workers as required (#β13056, #β13105, #β13106, #β13107)[pretty-format][BREAKING] RemoveConvertAnsiplugin in favour ofjest-serializer-ansi-escapes(#β13040)[pretty-format]Allow to opt out from sorting object keys withcompareKeys: null(#β12443)
Fixes
[jest-config]Fix testing multiple projects with TypeScript config files (#β13099)[@jest/expect-utils]Fix deep equality of ImmutableJS Record (#β13055)[jest-haste-map]Increase the maximum possible file size that jest-haste-map can handle (#β13094)[jest-runtime]Properly support CJS re-exports from dual packages (#β13170)[jest-snapshot]MakeprettierPathoptional inSnapshotState(#β13149)[jest-snapshot]Fix parsing error from inline snapshot files withJSX(#β12760)[jest-worker]When a process runs out of memory worker exits correctly and doesn't spin indefinitely (#β13054)
Chore & Maintenance
[*][BREAKING] Drop support for Node v12 and v17 (#β13033)[docs]Fix webpack name (#β13049)[docs]Explicit how to setnfor--bail(#β13128)[docs]Update Enzyme URL (#β13166)[jest-leak-detector]Remove support forweak-napi(#β13035)[jest-snapshot][BREAKING] RequirerootDiras argument toSnapshotState(#β13150)
v28.1.3
Features
[jest-leak-detector]Use nativeFinalizationRegistrywhen it exists to get rid of external C dependency (#β12973)
Fixes
[jest-changed-files]Fix a lock-up after repeated invocations (#β12757)[@jest/expect-utils]Fix deep equality of ImmutableJS OrderedSets (#β12977)[jest-mock]Add index signature support forspyOntypes (#β13013, #β13020)[jest-snapshot]Fix indentation of awaited inline snapshots (#β12986)
Chore & Maintenance
[*]Replace internal usage ofpretty-format/ConvertAnsiwithjest-serializer-ansi-escapes(#β12935, #β13004)[docs]Update spyOn docs (#β13000)
v28.1.2
Fixes
[jest-runtime]Avoid star type import from@jest/globals(#β12949)
Chore & Maintenance
[docs]Mention that jest-codemods now supports Sinon (#β12898)
v28.1.1
Features
[jest]ExposeConfigtype (#β12848)[@jest/reporters]ImproveGitHubActionsReporters annotation format (#β12826)[@jest/types]Infer argument types passed totestanddescribecallback functions fromeachtables (#β12885, #β12905)
Fixes
[@jest/expect-utils]Fix deep equality of ImmutableJS OrderedMaps (#β12899)[jest-docblock]Handle multiline comments in parseWithComments (#β12845)[jest-mock]ImprovespyOnerror messages (#β12901)[jest-runtime]Correctly report V8 coverage withresetModules: true(#β12912)[jest-worker]MakeJestWorkerFarmhelper type to include methods of worker module that take more than one argument (#β12839)
Chore & Maintenance
[docs]Updated docs to indicate thatjest-environment-jsdomis a separate package #β12828[docs]Document the comments used by coverage providers #β12835[docs]Usedocusaurus-remark-plugin-tab-blocksto format tabs with code examples (#β12859)[jest-haste-map]Bumpwalkerversion (#β12324)
v28.1.0
Features
[jest-circus]Addfailingtest modifier that inverts the behavior of tests (#β12610)[jest-environment-node, jest-environment-jsdom]Allow specifyingcustomExportConditions(#β12774)
Fixes
[expect]Adjust typings oflastCalledWith,nthCalledWith,toBeCalledWithmatchers to allow a case there a mock was called with no arguments (#β12807)[@jest/expect-utils]Fix deep equality of ImmutableJS Lists (#β12763)[jest-core]Do not collectSIGNREQUESTas open handles (#β12789)
Chore & Maintenance
[docs]Specified documentation about--filterCLI docs (#β12799)[@jest-reporters]Move helper functions fromutils.tsinto separate files (#β12782)[jest-resolve]Replaceprocess.versions.pnptype declaration with@types/pnpapidevDependency (#β12783)
v28.0.3
Fixes
[jest-config]Normalizereportersoption defined in presets (#β12769)[@jest/reporters]Fix trailing slash in matchingcoverageThresholdkey (#β12714)[jest-resolve]Fix (experimental) ESM module mocking for re-exports (#β12766)[@jest/transform]Throw better error if an invalid return value if encountered (#β12764)
Chore & Maintenance
[docs]Fix typo in--shardCLI docs (#β12761)
v28.0.2
Features
[jest-worker]AddJestWorkerFarmhelper type (#β12753)
Fixes
[*]Lower Node 16 requirement to 16.10 from 16.13 due to a Node bug that causes memory and performance issues (#β12754)
v28.0.1
Features
[jest-resolve]ExposeResolverOptionstype (#β12736)
Fixes
[expect]Add missing dependencyjest-util(#β12744)[jest-circus]Improvetest.concurrent(#β12748)[jest-resolve]Correctly throw an error ifjsdomtest environment is used, but not installed (#β12749)
Chore & Maintenance
[jest-serializer]Remove deprecated module from source tree (#β12735)
v28.0.0
Features
[babel-jest]ExportcreateTransformerfunction (#β12399)[expect]ExposeAsymmetricMatchers,MatcherFunctionandMatcherFunctionWithStateinterfaces (#β12363, #β12376)[jest-circus]Support error logging before retry (#β12201)[jest-circus, jest-jasmine2]Allowed classes and functions asdescribeandit/testnames (#β12484)[jest-cli, jest-config][BREAKING] RemovetestURLconfig, usetestEnvironmentOptions.urlinstead (#β10797)[jest-cli, jest-core]Add--shardparameter for distributed parallel test execution (#β12546)[jest-cli][BREAKING] Remove undocumented--timersoption (#β12572)[jest-config][BREAKING] Stop shippingjest-environment-jsdomby default (#β12354)[jest-config][BREAKING] Stop shippingjest-jasmine2by default (#β12355)[jest-config, @​jest/types]AddcitoGlobalConfig(#β12378)[jest-config][BREAKING] RenamemoduleLoadertoruntime(#β10817)[jest-config][BREAKING] RenameextraGlobalstosandboxInjectedGlobals(#β10817)[jest-config][BREAKING] Throw an error instead of showing a warning if multiple configs are used (#β12510)[jest-config][BREAKING] Do not normalize long deprecated configuration optionspreprocessorIgnorePatterns,scriptPreprocessor,setupTestFrameworkScriptFileandtestPathDirs(#β12701)[jest-cli, jest-core]Add--ignoreProjectsCLI argument to ignore test suites by project name (#β12620)[jest-core]Pass project config toglobalSetup/globalTeardownfunction as second argument (#β12440)[jest-core]Stabilize test runners with event emitters (#β12641)[jest-core, jest-watcher][BREAKING] MoveTestWatcherclass tojest-watcherpackage (#β12652)[jest-core]Allow using Summary Reporter as stand-alone reporter (#β12687)[jest-environment-jsdom][BREAKING] Upgrade jsdom to 19.0.0 (#β12290)[jest-environment-jsdom][BREAKING] Add defaultbrowsercondition toexportConditionsforjsdomenvironment (#β11924)[jest-environment-jsdom][BREAKING] Pass global config to Jest environment constructor forjsdomenvironment (#β12461)[jest-environment-jsdom][BREAKING] Second argumentcontextto constructor is mandatory (#β12469)[jest-environment-node][BREAKING] Add defaultnodeandnode-addonconditions toexportConditionsfornodeenvironment (#β11924)[jest-environment-node][BREAKING] Pass global config to Jest environment constructor fornodeenvironment (#β12461)[jest-environment-node][BREAKING] Second argumentcontextto constructor is mandatory (#β12469)[jest-environment-node]Add all available globals to test globals, not just explicit ones (#β12642, #β12696)[@jest/expect]New module which extendsexpectwithjest-snapshotmatchers (#β12404, #β12410, #β12418)[@jest/expect-utils]New module exporting utils forexpect(#β12323)[@jest/fake-timers][BREAKING] Renametimersconfiguration option tofakeTimers(#β12572)[@jest/fake-timers][BREAKING] Allowjest.useFakeTimers()andprojectConfig.fakeTimersto take an options bag (#β12572)[jest-haste-map][BREAKING]HasteMap.createnow returns a promise (#β12008)[jest-haste-map]Add support fordependencyExtractorwritten in ESM (#β12008)[jest-mock][BREAKING] Rename exported utility typesClassLike,FunctionLike,ConstructorLikeKeys,MethodLikeKeys,PropertyLikeKeys; remove exports of utility typesArgumentsOf,ArgsType,ConstructorArgumentsOf- TS builtin utility typesConstructorParametersandParametersshould be used instead (#β12435, #β12489)[jest-mock]ImproveisMockFunctionto infer types of passed function (#β12442)[jest-mock][BREAKING] Improve the usage ofjest.fngeneric type argument (#β12489)[jest-mock]Add support for auto-mocking async generator functions (#β11080)[jest-mock]Addcontextsmember to mock functions (#β12601)[@jest/reporters]Add GitHub Actions reporter (#β11320, #β12658)[@jest/reporters]PassreporterContextto custom reporter constructors as third argument (#β12657)[jest-resolve][BREAKING] Add support forpackage.jsonexports(#β11961, #β12373)[jest-resolve]Support package self-reference (#β12682)[jest-resolve, jest-runtime]Add support fordata:URI import and mock (#β12392)[jest-resolve, jest-runtime]Add support for async resolver (#β11540)[jest-resolve][BREAKING] Removebrowser?: booleanfrom resolver options,conditions: ['browser']should be used instead (#β12707)[jest-resolve]ExposeJestResolver,AsyncResolver,SyncResolver,PackageFilter,PathFilterandPackageJSONtypes (#β12707, (#β12712)[jest-runner]AllowsetupFilesmodule to export an async function (#β12042)[jest-runner]Allow passingtestEnvironmentOptionsvia docblocks (#β12470)[jest-runner]ExposeCallbackTestRunner,EmittingTestRunnerabstract classes andCallbackTestRunnerInterface,EmittingTestRunnerInterfaceto help typing third party runners (#β12646, #β12715)[jest-runner]Lock version ofsource-map-supportto 0.5.13 (#β12720)[jest-runtime][BREAKING]Runtime.createHasteMapnow returns a promise (#β12008)[jest-runtime]Callingjest.resetModulesfunction will clear FS and transform cache (#β12531)[jest-runtime][BREAKING] RemoveContexttype export, it must be imported from@jest/test-result(#β12685)[jest-runtime]Addimport.meta.jest(#β12698)[@jest/schemas]New module for JSON schemas for Jest's config (#β12384)[@jest/source-map]Migrate fromsource-mapto@jridgewell/trace-mapping(#β12692)[jest-transform][BREAKING] Make it required forprocess()andprocessAsync()methods to always return structured data (#β12638)[jest-test-result]Add duration property to JSON test output (#β12518)[jest-watcher][BREAKING] MakePatternPromptclass to takeentityNameas third constructor parameter instead ofthis._entityName(#β12591)[jest-worker][BREAKING] Allow only absoluteworkerPath(#β12343)[jest-worker][BREAKING] Default to advanced serialization when using child process workers (#β10983)[pretty-format]NewmaxWidthparameter ([#β12402](https://redirect.github.com/facebook/jest/pull/1
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
β Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
β» Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vue/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/jest
npm ERR! dev jest@"29.7.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer jest@"27.x" from @vue/[email protected]
npm ERR! node_modules/@vue/vue2-jest
npm ERR! dev @vue/vue2-jest@"27.0.0-alpha.4" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/jest
npm ERR! peer jest@"27.x" from @vue/[email protected]
npm ERR! node_modules/@vue/vue2-jest
npm ERR! dev @vue/vue2-jest@"27.0.0-alpha.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/worker/1b1cd7/34ff72/cache/others/npm/_logs/2023-09-12T11_43_29_228Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /tmp/worker/1b1cd7/34ff72/cache/others/npm/_logs/2023-09-12T11_43_29_228Z-debug-0.log