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

docs: Add instructions for integrating with Jest unit tests #94

Merged
merged 2 commits into from
May 24, 2019

Conversation

matt-oakes
Copy link
Collaborator

Overview

Adds instructions for getting the module to work correctly with Jest.

Currently the suggested mock is just enough to get the library running. In the future we can add a better mock which can be used to actually control and mock network conditions.

Test Plan

Fixes #75

@matt-oakes matt-oakes merged commit 3bfdd45 into master May 24, 2019
@matt-oakes matt-oakes deleted the matt-oakes/jest branch May 24, 2019 05:54
react-native-community-bot pushed a commit that referenced this pull request May 24, 2019
## [3.1.1](v3.1.0...v3.1.1) (2019-05-24)

### Bug Fixes

* Add instructions for integrating with Jest unit tests ([#94](#94)) ([3bfdd45](3bfdd45))
@react-native-community-bot
Copy link
Collaborator

🎉 This PR is included in version 3.1.1 🎉

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.

Add instructions for mocking with Jest
2 participants