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

Test Migration (React Upgrade / React Testing Library) #1159

Closed
56 tasks done
scurker opened this issue Aug 9, 2023 · 1 comment
Closed
56 tasks done

Test Migration (React Upgrade / React Testing Library) #1159

scurker opened this issue Aug 9, 2023 · 1 comment

Comments

@scurker
Copy link
Member

scurker commented Aug 9, 2023

We need to migrate away from using Enzyme as it doesn't support newer versions of React. This means we need to refactor all of our existing tests to utilize React Testing Library.

Tasks

Preview Give feedback
@scurker scurker added this to the Future milestone Aug 9, 2023
@scurker scurker modified the milestones: Future, React Upgrade Aug 9, 2023
@scurker scurker assigned scurker and unassigned scurker Aug 15, 2023
anastasialanz added a commit that referenced this issue Jan 10, 2024
Since we eventually wanted to move to the latest version of React, we switched to using React Testing Library. We'll be migrating each component's test file from Enzyme to React Testing Library. This process has been started with the Button component.

Issues #1197 #1159
anastasialanz added a commit that referenced this issue Feb 5, 2024
Switches the Tag tests to use React Testing Library and corrects the paths for `setupFilesAfterEnv` and `collectCoverageFrom` in the `jest.config.ts`.

Co-authored-by: Jason <jason@scurker.com>

#1159
@scurker scurker changed the title Test Migration (React Upgrade) Test Migration (React Upgrade / React Testing Library) Feb 26, 2024
This was referenced May 1, 2024
@scurker scurker pinned this issue Jul 2, 2024
@scurker
Copy link
Member Author

scurker commented Jul 3, 2024

All tests have been migrated! 🎉

@scurker scurker closed this as completed Jul 3, 2024
@scurker scurker unpinned this issue Jul 3, 2024
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