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

Replace Enzyme with React Testing Library #567

Closed
chawes13 opened this issue Jun 30, 2022 · 2 comments
Closed

Replace Enzyme with React Testing Library #567

chawes13 opened this issue Jun 30, 2022 · 2 comments
Assignees

Comments

@chawes13
Copy link
Contributor

This will accommodate allowing this library to be confidently tested against React 18.

Enzyme does not officially support v18 (or v17 for that matter). The author of the unofficial v17 adapter has recommended switching to RTL and considers Enzyme "dead".

enzymejs/enzyme#2524
https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl
https://testing-library.com/docs/react-testing-library/migrate-from-enzyme/

@josiasds
Copy link
Contributor

josiasds commented Nov 9, 2023

@chawes13 I assume we can close this issue now?

@chawes13
Copy link
Contributor Author

chawes13 commented Nov 9, 2023

😲 I guess we didn't use the right keywords to link this issue! Yes, definitely.

@chawes13 chawes13 closed this as completed Nov 9, 2023
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

2 participants