Skip to content

Example of testing a Relay Modern app using Flow, Jest, react-testing-library and graphql-query-test-mock.

License

Notifications You must be signed in to change notification settings

zth/relay-modern-flow-jest-example

Repository files navigation

Example of testing a Relay Modern app using Flow, Jest, react-testing-library and graphql-query-test-mock

This repo is a small example of how you can go about testing a Relay Modern React application using Flow, Jest, react-testing-library, and graphql-query-test-mock. Please check out the annotated code.

Installation

yarn

Usage

yarn flow # To typecheck with Flow
yarn test # To run tests

Check out package.json scripts for more.

About

Example of testing a Relay Modern app using Flow, Jest, react-testing-library and graphql-query-test-mock.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published