Skip to content

docs: update React Navigation tests to use find queries #364

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

Merged
merged 2 commits into from
May 31, 2020

Conversation

wwdrew
Copy link
Contributor

@wwdrew wwdrew commented May 30, 2020

Summary

This change updates the documentation around React Navigation integration to use the find* queries instead of get* queries.

It solves the tests displaying errors regarding ForwardRef(NavigationContainer).

Test plan

Only a documentation change.

@thymikee
Copy link
Member

This is great! Could you also update the example as well so it stays in sync? https://github.com/callstack/react-native-testing-library/blob/master/examples/reactnavigation/src/__tests__/AppNavigator.test.js

@wwdrew
Copy link
Contributor Author

wwdrew commented May 31, 2020

Absolutely, apologies I didn't actually realise that was there :)

Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

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

👍

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.

2 participants