Code example for FOSDEM 2019
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.gitignore
README.md
package-lock.json
package.json

README.md

react-apollo-testing

Code example for FOSDEM 2019

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