Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rzane/apollo-test-client
Utilities for testing with Apollo Client
https://github.com/rzane/apollo-test-client
apollo client react test testing
Last synced: about 1 month ago
JSON representation
Utilities for testing with Apollo Client
- Host: GitHub
- URL: https://github.com/rzane/apollo-test-client
- Owner: rzane
- Created: 2019-06-25T20:22:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:12:53.000Z (about 2 years ago)
- Last Synced: 2023-04-04T00:12:05.096Z (almost 2 years ago)
- Topics: apollo, client, react, test, testing
- Language: JavaScript
- Homepage:
- Size: 1020 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
apollo-test-client
![Build](https://github.com/rzane/apollo-test-client/workflows/Build/badge.svg)
![Version](https://img.shields.io/npm/v/apollo-test-client)
![Size](https://img.shields.io/bundlephobia/minzip/apollo-test-client)
![License](https://img.shields.io/npm/l/apollo-test-client)A set of functions to generate instances of ApolloClient for testing.
The following functions are available:
* `createStubbedClient`
* `createMockedClient`
* `createSchemaClient`
* `createLoadingClient`
* `createErrorClient`