-
Notifications
You must be signed in to change notification settings - Fork 1
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: refactor tests to typescript and fix test configuration #6
Conversation
…feature/typescript-refactor
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6 +/- ##
=========================================
+ Coverage 0 93.10% +93.10%
=========================================
Files 0 6 +6
Lines 0 58 +58
Branches 0 1 +1
=========================================
+ Hits 0 54 +54
- Misses 0 4 +4 |
…feature/typescript-refactor
}, | ||
cancelKeyText: 'cancelKeyText', | ||
onCancelPress: jest.fn(), | ||
onSubmitPress: jest.fn(), | ||
submitKeyText: 'submitKeyText', | ||
visible: false, | ||
children: null | ||
visible: true, |
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.
why we changed visibility in test?
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.
React Native made a breaking change in Modal mock where they disabled rendering of children when visible={false}
: facebook/react-native#32346
Original package was using 0.57.2
where this change wasn't implemented yet.
🎉 This PR is included in version 1.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.