Skip to content

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
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.

4 participants