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

Add missing mock of Touchables #1700

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Add missing mock of Touchables #1700

merged 1 commit into from
Feb 18, 2024

Conversation

jaworek
Copy link
Contributor

@jaworek jaworek commented Jan 19, 2024

Motivation

Similarly to #1698 from @ghorbani-m. This PR adds missing mocks for Touchables. Without it when they're used in tested components, user will get this error:

Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Copy link
Owner

@gorhom gorhom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @jaworek for submitting this PR

@gorhom gorhom merged commit 32711dc into gorhom:master Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants