-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update testing library (major) #32656
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
added
the
topic: automation
Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot
label
Aug 1, 2021
gatsbot
bot
added
the
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
label
Aug 1, 2021
LekoArts
removed
the
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
label
Aug 2, 2021
renovate
bot
force-pushed
the
renovate/major-testing-library
branch
2 times, most recently
from
August 12, 2021 19:33
c5290dd
to
28151b2
Compare
renovate
bot
force-pushed
the
renovate/major-testing-library
branch
4 times, most recently
from
August 27, 2021 13:14
de4b7b1
to
f5d1bd1
Compare
wardpeet
added
the
bot: merge on green
Gatsbot will merge these PRs automatically when all tests passes
label
Sep 1, 2021
renovate
bot
force-pushed
the
renovate/major-testing-library
branch
4 times, most recently
from
September 7, 2021 23:11
3167a47
to
a435134
Compare
renovate
bot
force-pushed
the
renovate/major-testing-library
branch
4 times, most recently
from
September 15, 2021 01:43
68362fa
to
0461690
Compare
renovate
bot
force-pushed
the
renovate/major-testing-library
branch
from
September 16, 2021 00:19
0461690
to
3a4ed9d
Compare
pragmaticpat
added
the
breaking change
If implemented, this proposed work would break functionality for older versions of Gatsby
label
Sep 20, 2021
Had to switch testing-library/react to v11 due to some bugs with fakeTimers: |
LekoArts
approved these changes
Oct 13, 2021
wardpeet
pushed a commit
to herecydev/gatsby
that referenced
this pull request
Oct 29, 2021
Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: gatsbybot <[email protected]> Co-authored-by: LekoArts <[email protected]>
axe312ger
pushed a commit
that referenced
this pull request
Nov 9, 2021
Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: gatsbybot <[email protected]> Co-authored-by: LekoArts <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bot: merge on green
Gatsbot will merge these PRs automatically when all tests passes
breaking change
If implemented, this proposed work would break functionality for older versions of Gatsby
topic: automation
Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot
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:
^7.31.2
->^8.5.0
^11.2.7
->^12.1.0
^9.5.0
->^12.1.0
Release Notes
testing-library/dom-testing-library
v8.5.0
Compare Source
Features
unstable_advanceTimersWrapper
(#1022) (45830f5)v8.4.0
Compare Source
Bug Fixes
Features
v8.3.0
Compare Source
Features
v8.2.0
Compare Source
Features
aria-current
state (#943) (fbbb29a)v8.1.1
Compare Source
Bug Fixes
reset
(#1011) (54b9a5f)v8.1.0
Compare Source
Features
v8.0.0
Compare Source
Recommendations
jest
fake timers make sure you use modern timersjest 27:
chore
BREAKING CHANGES
waitFormDOMChange
waitForElement
timeout
inwaitFor(callback, { interval, timeout } )
now uses the same clock asinterval
. Previouslytimeout
was always using the real clock whileinterval
was using the global clock which could've been mocked out. For the old behavior I'd recommendwaitFor(callback, { interval, timeout: Number.POSITIVE_INFINITY })
and rely on your test runner to timeout considering real timers.<script />
,<style />
and comment nodes are now ignored by default inprettyDOM
.If you whish to return to the old behavior, use a customfilterNode
function. In this caseprettyDOM(element, { filterNode: () => true })
.testing-library/react-testing-library
v12.1.0
Compare Source
Features
v12.0.0
Compare Source
Bug Fixes
Features
BREAKING CHANGES
@testing-library/dom
to 8.0.0. Please check out the@testing-library/[email protected]
release page for a detailed list of breaking changes.Configuration
📅 Schedule: "before 7am on the first day of the month" in timezone GMT.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.