nest-cli
nest-cli copied to clipboard
chore(deps): update jest monorepo to v29 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @types/jest (source) | 28.1.8 -> 29.0.3 |
||||
| jest (source) | 28.1.3 -> 29.0.3 |
||||
| ts-jest (source) | 28.0.8 -> 29.0.1 |
Release Notes
facebook/jest
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)
kulshekhar/ts-jest
v29.0.1
Bug Fixes
Features
v29.0.0
Features
- drop Node 12 and Node 17 support (#β3787) (0f1de16)
- migrate globals config to transformer config (#β3780) (31e5843)
- support Jest 29 (#β3767) (94b553b)
DEPRECATIONS
- Define
ts-jestconfig underglobalsis now deprecated. Please define the config via transformer config instead.
BREAKING CHANGES
- Only Node 14, 16 and 18 are supported
- Jest 29 is required.
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled due to failing status checks.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.