Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

chore(deps): update dependency @shopify/jest-dom-mocks to v5 #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@shopify/jest-dom-mocks (source) 4.2.0 -> 5.1.0 age adoption passing confidence

Release Notes

Shopify/quilt (@​shopify/jest-dom-mocks)

v5.1.0

Compare Source

Minor Changes
Patch Changes

v5.0.1

Compare Source

Patch Changes

v5.0.0

Compare Source

Major Changes
  • #​2642 db05ac6d1 Thanks @​BPScott! - Replace lolex with using Jest's built-in clock mocking, available since Jest 26. Internally Jest uses @sinon/fake-timers which is the API-compatible successor to lolex.

    As of Jest 26, the functionality of the Clock and Timer mocks are built into Jest. We recommend replacing usage of these mocks with calling jest directly:

    • Replace clock.mock() and timer.mock() with jest.useFakeTimers()
    • Replace clock.restore() and timer.restore() with jest.useRealTimers()
    • Replace clock.tick(time) with jest.advanceTimersByTime(time)
    • Replace clock.setTime(time) with jest.setSystemTime(time)
    • Replace timer.runAllTimers() with jest.runAllTimers()
    • Replace timer.runTimersToTime() with jest.advanceTimersByTime()

    You may encounter problems if you try to use the Clock and Timer mocks in the same file. We suggest migrating away from both of them, and replacing them with Jest's own mocking behaviour.


Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

@auto-assign auto-assign bot requested a review from aorumbayev June 1, 2023 00:58
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch 3 times, most recently from cad67ac to cb7e174 Compare June 1, 2023 04:01
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from cb7e174 to bb50af8 Compare November 1, 2023 07:30
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from bb50af8 to 08cc234 Compare December 1, 2023 04:23
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from 08cc234 to d7b6c6d Compare January 1, 2024 04:13
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from d7b6c6d to 8d82081 Compare February 1, 2024 04:24
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from 8d82081 to 4967e40 Compare March 1, 2024 04:06
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from 4967e40 to 93c0766 Compare April 1, 2024 17:51
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch 3 times, most recently from a5dd1f2 to 56174ba Compare May 1, 2024 10:33
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from 56174ba to 8fce7d2 Compare June 1, 2024 04:21
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from 8fce7d2 to 824fb4b Compare June 10, 2024 19:16
@renovate renovate bot force-pushed the renovate/shopify-jest-dom-mocks-5.x branch from 824fb4b to d83b74e Compare July 1, 2024 03:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant