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

Update react-testing-library #1336

Open
scurker opened this issue Feb 6, 2024 · 1 comment
Open

Update react-testing-library #1336

scurker opened this issue Feb 6, 2024 · 1 comment

Comments

@scurker
Copy link
Member

scurker commented Feb 6, 2024

We're currently "stuck" on react testing library v12, because versions 13+ have removed support for React v16 and below:

React Testing Library versions 13+ require React v18. If your project uses an older version of React, be sure to install version 12:

This means we can't take advantage of any new queries/matchers that get added to react-testing-library/dom due to the following issues:

If any of the above issues get resolved, it might be possible for us to install the dom library as a peer dependency to take advantage of any new features OR if we fully migrate away from enzyme in order to upgrade to react 17+.

@scurker
Copy link
Member Author

scurker commented May 1, 2024

This depends on #1473

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

No branches or pull requests

1 participant