Mock using graphql-mocks with sinon spy
npm install @graphql-mocks/sinon@graphql-mocks/sinonThis package provides a Resolver Wrapper for installing sinon spies on specified resolvers. This is useful during testing to assert that resolvers were called a certain number of times or called with certain arguments, or other features provided by sinon. See the documentation on how to access and use the spies.
---
* GraphQL Mocks
* API Documentation
* References
* @graphql-mocks/sinon documentation
* Introducing Resolver Wrappers
* Sinon.js