Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 3, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/jest (source) 29.0.0 -> 29.2.4 age adoption passing confidence
jest (source) 29.0.1 -> 29.3.1 age adoption passing confidence
jest-environment-node 29.0.1 -> 29.3.1 age adoption passing confidence

Release Notes

facebook/jest

v29.3.1

Compare Source

Fixes
  • [jest-config] Do not warn about preset in ProjectConfig (#​13583)
Performance
  • [jest-transform] Defer creation of cache directory (#​13420)

v29.3.0

Compare Source

Features
  • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#​13505)
Fixes
  • [jest-config] Add config validation for projects option (#​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] Update convert-source-map (#​13509)
  • [docs] Mention toStrictEqual in UsingMatchers docs. (#​13560)

v29.2.2

Compare Source

Fixes
  • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#​13476)
  • [jest-circus] Test marked as todo are 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] Update emittery (#​13490)

v29.2.1

Compare Source

Features
  • [@jest/globals, jest-mock] Add jest.Spied* utility types (#​13440)
Fixes
  • [jest-environment-node] make globalThis.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

Compare Source

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] Add readInitialConfig utility function (#​13356)
  • [jest-core] Allow testResultsProcessor to be async (#​13343)
  • [@jest/environment, jest-environment-node, jest-environment-jsdom, jest-runtime] Add getSeed() to the jest object (#​13400)
  • [expect, @​jest/expect-utils] Allow isA utility to take a type argument (#​13355)
  • [expect] Expose AsyncExpectationResult and SyncExpectationResult types (#​13411)
Fixes
  • [babel-plugin-jest-hoist] Ignore TSTypeQuery when checking for hoisted references (#​13367)
  • [jest-core] Fix detectOpenHandles false positives for some special objects such as TLSWRAP (#​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 of each 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 for each (#​13422)
Performance
  • [jest-runner] Do not instrument v8 coverage data if coverage should not be collected (#​13282)

v29.1.2

Compare Source

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 on jest-util (#​13341)

v29.1.1

Compare Source

Fixes
  • [jest-mock] Revert #​13145 which broke mocking of transpiled ES modules

v29.1.0

Compare Source

Features
  • [expect, @​jest/expect] Support type inference for function parameters in CalledWith assertions (#​13268)
  • [expect, @​jest/expect] Infer type of *ReturnedWith matchers argument (#​13278)
  • [@jest/environment, jest-runtime] Allow jest.requireActual and jest.requireMock to take a type argument (#​13253)
  • [@jest/environment] Allow jest.mock and jest.doMock to take a type argument (#​13254)
  • [@jest/fake-timers] Add jest.now() to return the current fake clock time (#​13244, #​13246)
  • [@jest/mock] Add withImplementation method for temporarily overriding a mock (#​13281)
  • [expect] Export toThrow* matchers (#​13328)
Fixes
  • [jest-circus, jest-jasmine2] Fix error messages for Node's assert.throes (#​13322)
  • [jest-haste-map] Remove __proto__ usage (#​13256)
  • [jest-mock] Improve spyOn 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)

v29.0.3

Compare Source

Features
  • [@jest/environment, jest-runtime] Allow passing a generic type argument to jest.createMockFromModule<T>() method (#​13202)
  • [expect] Expose ExpectationResult type (#​13240)
  • [jest-snapshot] Expose Context type (#​13240)
  • [@jest/globals] Add jest.Mock type helper (#​13235)
Fixes
  • [jest-core] Capture execError during TestScheduler.scheduleTests and dispatch to reporters (#​13203)
  • [jest-resolve] Make sure to resolve module paths after looking at exports (#​13242)
  • [jest-resolve] Improve error on module not found deep in the require stack (#​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

Compare Source

Features
  • [jest-transform] Expose TransformFactory type (#​13184)
Fixes
  • [babel-plugin-jest-hoist] Support imported jest in mock factory (#​13188)
  • [jest-mock] Align the behavior and return type of generateFromMetadata method (#​13207)
  • [jest-runtime] Support jest.resetModules() with ESM (#​13211)

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 7be113e to fb02b55 Compare September 4, 2022 02:39
@escapedcat escapedcat self-assigned this Sep 5, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch 3 times, most recently from 2f9ff0b to 69bbd4c Compare September 10, 2022 16:28
@renovate renovate bot changed the title chore: update jest monorepo to v29.0.2 chore: update jest monorepo to v29.0.3 Sep 10, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch 2 times, most recently from e11718a to 9befbb6 Compare September 11, 2022 12:13
@renovate renovate bot changed the title chore: update jest monorepo to v29.0.3 chore: update jest monorepo Sep 11, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch 2 times, most recently from 56dd4dc to 31988dd Compare September 15, 2022 22:32
@renovate renovate bot changed the title chore: update jest monorepo chore: update jest monorepo to v29.0.3 Sep 15, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch 2 times, most recently from 6fab534 to 7256e62 Compare September 27, 2022 20:32
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 7256e62 to a7eff8f Compare September 28, 2022 10:23
@renovate renovate bot changed the title chore: update jest monorepo to v29.0.3 chore: update jest monorepo Sep 28, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch 2 times, most recently from 37bcd6f to 17970f0 Compare September 30, 2022 04:31
@renovate renovate bot changed the title chore: update jest monorepo chore: update jest monorepo to v29.1.1 Sep 30, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 17970f0 to 0da8804 Compare September 30, 2022 08:06
@renovate renovate bot changed the title chore: update jest monorepo to v29.1.1 chore: update jest monorepo Sep 30, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 0da8804 to 8963f9b Compare October 6, 2022 17:27
@renovate renovate bot changed the title chore: update jest monorepo chore: update jest monorepo to v29.1.2 Oct 6, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 8963f9b to 7938783 Compare October 14, 2022 11:53
@renovate renovate bot changed the title chore: update jest monorepo to v29.1.2 chore: update jest monorepo Oct 14, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 7938783 to a70d797 Compare October 18, 2022 08:02
@renovate renovate bot changed the title chore: update jest monorepo chore: update jest monorepo to v29.2.0 Oct 18, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from a70d797 to eaf6060 Compare October 18, 2022 16:43
@renovate renovate bot changed the title chore: update jest monorepo to v29.2.0 chore: update jest monorepo Oct 18, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from eaf6060 to bdf4b86 Compare October 24, 2022 23:07
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from bdf4b86 to ca6a1c6 Compare November 1, 2022 01:44
@renovate renovate bot changed the title chore: update jest monorepo chore: update jest monorepo to v29.2.2 Nov 4, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch 2 times, most recently from c943c31 to 1eeb96b Compare November 7, 2022 22:31
@renovate renovate bot changed the title chore: update jest monorepo to v29.2.2 chore: update jest monorepo Nov 7, 2022
@renovate renovate bot force-pushed the renovate/jest-monorepo branch 2 times, most recently from 936a7a6 to 699815f Compare November 14, 2022 20:43
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 699815f to 0edede9 Compare November 21, 2022 08:11
@renovate renovate bot force-pushed the renovate/jest-monorepo branch from 0edede9 to 16c0438 Compare December 5, 2022 10:25
@escapedcat
Copy link
Member

@songhn233 you have any idea why this one test is failing maybe?:

  ● recursive extends with ts file

    Cannot find module "./first-extended" from "/var/folders/77/q0z...c0000gn/T/tmp-15475-...3g66"

      143 | 	try {
      144 | 		const resolveGlobal = importFresh('resolve-global');
    > 145 | 		return resolveGlobal(id);
          | 		       ^
      146 | 	} catch (err) {}
      147 | }
      148 |

      at resolveId (@commitlint/resolve-extends/src/index.ts:145:10)
      at resolveConfig (@commitlint/resolve-extends/src/index.ts:127:23)
      at @commitlint/resolve-extends/src/index.ts:59:17
          at Array.reduce (<anonymous>)
      at loadExtends (@commitlint/resolve-extends/src/index.ts:56:3)
      at resolveExtends (@commitlint/resolve-extends/src/index.ts:26:16)
      at load (@commitlint/load/src/load.ts:50:50)
      at async Object.<anonymous> (@commitlint/load/src/load.test.ts:406:20)

@escapedcat
Copy link
Member

escapedcat commented Dec 14, 2022

Only one test is weirdly failing after this update. Decided to comment and skip this test to allow future jest updates.
Giving up here.

@renovate
Copy link
Contributor Author

renovate bot commented Dec 14, 2022

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@escapedcat escapedcat merged commit 289b642 into master Dec 14, 2022
@escapedcat escapedcat deleted the renovate/jest-monorepo branch December 14, 2022 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants