Skip to content
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

fix: update testing-libary-dom to 9 #262

Merged
merged 2 commits into from Sep 12, 2023
Merged

Conversation

TomPridham
Copy link
Contributor

What:
Updating testing-library-dom to the latest version

Why:
There were breaking changes in 8->9. Adding this library broke most of our existing jest tests because it requires testing-library-dom^8.2.1, but the latest testing-library-react requires testing-library-dom^9.0.0

How:
Updates the dependency and fixes a test failure caused by one of the breaking changes in testing-library-dom

Checklist:

  • Documentation
  • Tests
  • Ready to be merged

@kentcdodds kentcdodds merged commit 63bcce1 into testing-library:main Sep 12, 2023
3 checks passed
kentcdodds added a commit that referenced this pull request Sep 12, 2023
This should be a major release: #262

BREAKING CHANGE: Upgrade to `@testing-library/dom` v9: https://github.com/testing-library/dom-testing-library/releases/tag/v9.0.0
@github-actions
Copy link

🎉 This PR is included in version 10.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kentcdodds
Copy link
Member

Keep in mind that a new version of @testing-library/dom is on the horizon, so we'll have another major version bump soon, but I thought y'all have waited long enough already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants