@graphql-mocks/network-nock
Version:
Mock using graphql-mocks with Nock
13 lines (9 loc) • 717 B
Markdown
# `@graphql-mocks/network-nock`
This package provides a [Network Handler](http://www.graphql-mocks.com/docs/network/introducing-network-handlers) in the form of a Nock route handler to integrate GraphQL Mocks with [Nock](https://github.com/nock/nock). This allows for writing mocks in tests against Nock, node-based network mocking.
---
* [GraphQL Mocks](http://www.graphql-mocks.com)
* [API Documentation](http://www.graphql-mocks.com/api/network-nock/)
* [`@graphql-mocks/network-nock` documentation](http://www.graphql-mocks.com/docs/network/nock)
* References
* [Introducing Network Handlers](http://www.graphql-mocks.com/docs/network/introducing-network-handlers)
* [Nock](https://github.com/nock/nock)