-
Notifications
You must be signed in to change notification settings - Fork 274
docs: add Redux example #291
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
Conversation
Yay! Now that we have multiple examples, we need to come up with a way to test them. I think it makes sense to make RNTL a Yarn workspace so that we can install deps once and use Jest's / # root
packages/
react-native-testing-library/ # whole lib moved here
examples/
redux/
react-navigation/
... |
Let's make this PR only about Redux interaction, remove anything that's not specific to the tests. We need to keep examples short, scoped and to the point to avoid maintenance burden. It's crucial |
This I believe will be cool. But do you agree this has to be done later? |
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.
That's more like it! Later on, we can focus on providing helpers to test Redux connected components, like wrapInReduxContext(component)
etc
Examples to include the following:
Summary
Test plan