-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix documentation for React Native #1375
Comments
+1 I 'm using Expo to setup a React Native app but I want to be able to use Enzyme to help me with testing rather than |
You'd need a react native adapter to use enzyme with React Native. The docs should be updated; in the meantime, please follow #1436. |
I can help with the docs here. I have React Native working with Enzyme, and actually with deep rendering with I'm assuming it should work with Expo also @iwilsonq, let me know if you still need help getting Enzyme to work. |
We opened sourced our boilerplate project where I have Enzyme set up with React Native, if anyone wants an example to look at: React Native mobile boilerplate with Enzyme Relevant files in the repo for Jest / Enzyme: |
Documentation PR #1873 is up. |
Description
The documentation instructs users to install react-native-mock, which does not work with more recent versions of
react
due to it's usage of a deprecated APIProposal
I'm not really sure what the appropriate solution for this is, whether to add a footnote to the documentation regarding recent versions of
react-native
/react
, or finding a more reliable library/solution for the problem.Thanks for the awesome utility! You've made a lot of lives easier! 🥇
The text was updated successfully, but these errors were encountered: