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

Removed enzyme and replaced with @testing-library/react #83

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

mewelling
Copy link
Contributor

Removed enzyme related tests and replaced with @testing-library

Only real thing to note here is that previously there were some interesting side affects getting carried through the tests, as we only ever forced the JS library to be injected a single time (because jest uses the same global window object per-file rather than per test block). By clearing the script, we can now force the lib to be reloaded each time.

@mewelling mewelling merged commit 83286b2 into main Nov 16, 2023
1 check passed
@mewelling mewelling deleted the mewelling/replace-enzyme branch November 16, 2023 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants