Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

react-apollo-testing

Code example for Testing GraphQL/React Applications

About

This project shows how to get started with testing React applications that use GraphQL to retrieve and mutate data. It uses apollo-boost and react-apollo to handle GraphQL. For testing it uses react-test-renderer to render the components, react-apollo/test-utils to mock the GraphQL components and easygraphql-tester to directly test the GraphQL schema.

Get started

To start the application

npm install
npm start

To run the tests:

npm test

About

Code example for Testing GraphQL/React Applications

Resources

Releases

No releases published

Packages

No packages published