-
Notifications
You must be signed in to change notification settings - Fork 332
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
refactor: [M3-7582] - Remove Enzyme #10160
refactor: [M3-7582] - Remove Enzyme #10160
Conversation
Coverage Report: โ |
@@ -199,9 +195,11 @@ | |||
"mocha-junit-reporter": "^2.2.1", | |||
"msw": "~1.3.2", | |||
"prettier": "~2.2.1", | |||
"react-test-renderer": "16.14.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My hope is that when we upgrade React Testing Library, we can remove this explicit definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thankfully, we don't use "Pagey" anywhere so I was able to remove all of this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work rewriting all of these tests! I glanced over all changes and ran tests and coverage locally and everything looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rip Pagey, whatever it was ๐ชฆ
"enzyme": "^3.10.0", | ||
"enzyme-adapter-react-16": "^1.14.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
โ๏ธ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome cleanup!! Thanks for taking care of this.
Tests run locally fine โ
Tests equivalents look good to me and cleaner โ
Description ๐
Removing Enzyme in favor or React Testing Library has been in the works for years now. This PR's goal is to finally get Enzyme out of here ๐๏ธ. We're really close, so I'm just going to do it all in one sweep with this PR. ๐
Notes โ๏ธ
How to test ๐งช
As an Author I have considered ๐ค