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
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:
4.2.0
->5.1.0
Release Notes
Shopify/quilt (@shopify/jest-dom-mocks)
v5.1.0
Compare Source
Minor Changes
97f8f6cf5
Thanks @vsumner! - Drop support for node 14 and 16. Support node LTS and up.Patch Changes
97f8f6cf5
]:v5.0.1
Compare Source
Patch Changes
591e65366
]:v5.0.0
Compare Source
Major Changes
#2642
db05ac6d1
Thanks @BPScott! - Replacelolex
with using Jest's built-in clock mocking, available since Jest 26. Internally Jest uses@sinon/fake-timers
which is the API-compatible successor tololex
.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:
clock.mock()
andtimer.mock()
withjest.useFakeTimers()
clock.restore()
andtimer.restore()
withjest.useRealTimers()
clock.tick(time)
withjest.advanceTimersByTime(time)
clock.setTime(time)
withjest.setSystemTime(time)
timer.runAllTimers()
withjest.runAllTimers()
timer.runTimersToTime()
withjest.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.
This PR has been generated by Mend Renovate. View repository job log here.