This repo is a small example of how you can go about testing a Relay Modern React application using Flow, Jest and Enzyme. Please check out the annotated code.
yarn
yarn flow # To typecheck with Flow
yarn test # To run tests
Check out package.json
scripts for more.
- Pagination container example
- Refetch container example
- Mutations example