-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Migrate another (3/3) batch of unit tests away from enzyme #8959
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Bitrise❌❌❌ Commit hash: 31c3ccd Note
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8959 +/- ##
==========================================
+ Coverage 43.77% 45.49% +1.72%
==========================================
Files 1274 1274
Lines 31126 31126
Branches 3168 3168
==========================================
+ Hits 13624 14162 +538
+ Misses 16689 16125 -564
- Partials 813 839 +26 ☔ View full report in Codecov by Sentry. |
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.
Nice work!
I added some suggestions but your updates are already going to change our life when testing.
app/component-library/components/Buttons/Button/variants/ButtonPrimary/ButtonPrimary.test.tsx
Outdated
Show resolved
Hide resolved
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.
Looks good to me. Thanks for making the tests easier!
2687e98
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.
Left some comments
app/components/Views/ImportFromSecretRecoveryPhrase/index.test.tsx
Outdated
Show resolved
Hide resolved
Bitrise❌❌❌ Commit hash: bc808cc Note
|
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.
LGTM
Bitrise✅✅✅ Commit hash: b448e5f Note
|
Quality Gate passedIssues Measures |
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.
LGTM
Description
The mobile platform team is pushing to reduce the usage of enzyme within the application. This PR puts us one step closer to accomplishing this goal. This batch includes the following files:
Related issues
Fixes: #8805
Manual testing steps
yarn test:unit
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist