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: refactor tests to typescript and fix test configuration #6

Merged
merged 26 commits into from
Apr 4, 2023

Conversation

erik-slovak
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 15, 2023

Codecov Report

Merging #6 (dce89ca) into main (dcd4acc) will increase coverage by 93.10%.
The diff coverage is n/a.

❗ Current head dce89ca differs from pull request most recent head ff6b0a6. Consider uploading reports for the commit ff6b0a6 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            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     

see 6 files with indirect coverage changes

Base automatically changed from feature/typescript-refactor to main March 28, 2023 07:34
},
cancelKeyText: 'cancelKeyText',
onCancelPress: jest.fn(),
onSubmitPress: jest.fn(),
submitKeyText: 'submitKeyText',
visible: false,
children: null
visible: true,
Copy link
Member

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?

Copy link
Contributor Author

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.

@rostislav-simonik rostislav-simonik merged commit f351d8c into main Apr 4, 2023
@rostislav-simonik rostislav-simonik deleted the fix/tests-setup branch April 4, 2023 16:51
rostislav-simonik pushed a commit that referenced this pull request Apr 12, 2023
## [1.0.2](v1.0.1...v1.0.2) (2023-04-12)

### Testing

* refactor tests to typescript and fix test configuration ([#6](#6)) ([f351d8c](f351d8c))

### Bug fixes

* **deps:** update dependency @react-native-picker/picker to ^2.4.10 ([27a0140](27a0140))
@rostislav-simonik
Copy link
Member

🎉 This PR is included in version 1.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants