testing-library / react-testing-library

🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
https://testing-library.com/react
MIT License
18.84k stars 1.09k forks source link

feat!: move dtl to peerDeps #1309

Closed MatanBobi closed 2 months ago

MatanBobi commented 2 months ago

BREAKING CHANGE

What: As we've seen some issues lately with people having multiple versions of DTL due to user-event setting it as a peer and since DTL has some sort of state (the config), we'd want to make sure that there's only one version of DTL.

I'll update the version in the text before merging as this might be RTL version 17. Docs to follow in another PR.

codesandbox-ci[bot] commented 2 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2fa5eac17254b5bfb94cb510cba22b665c234ebf:

Sandbox Source
react-testing-library-examples Configuration
MatanBobi commented 2 months ago

Closed in favor of https://github.com/testing-library/react-testing-library/pull/1305