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 all usage of Enzyme in tests with React Test Renderer. #2118

Open
FrenjaminBanklin opened this issue Oct 26, 2023 · 0 comments · May be fixed by #2130
Open

Replace all usage of Enzyme in tests with React Test Renderer. #2118

FrenjaminBanklin opened this issue Oct 26, 2023 · 0 comments · May be fixed by #2130
Assignees
Labels
chore Maintain a clean and strong character. testing

Comments

@FrenjaminBanklin
Copy link
Contributor

Popular opinion seems to be that Enzyme is not going to continue being developed and that support for any version of React past 17 will be impossible.

Most of Obojobo's tests are luckily already using React Test Renderer, but some of them are using Enzyme. Those will have to be rewritten to use RTR instead.

Popular opinion also seems to be that React Testing Library is the de facto library for testing React, but it would likely require significant changes to every test to migrate to that. Prefer RTR for now.

@FrenjaminBanklin FrenjaminBanklin added testing chore Maintain a clean and strong character. labels Oct 26, 2023
@RachelDau RachelDau self-assigned this Apr 10, 2024
@RachelDau RachelDau linked a pull request Apr 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintain a clean and strong character. testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants