{"library":"nock-graphql","type":"library","category":null,"description":"Nock-based GraphQL testing library (v2.1.0) that mocks GraphQL queries and mutations by intercepting actual HTTP calls via nock. Unlike Apollo's MockedProvider, it tests with real fetch requests, providing more realistic integration tests. Ships TypeScript types. Requires nock, cross-fetch, and graphql as peer dependencies. Suitable for Apollo Client and other GraphQL clients that use HTTP.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","graphql test","nock","client-side graphql test","unit testing","graphql test mock","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nock-graphql","imports":["import { NockGraphQL } from 'nock-graphql'","import { MockConfig } from 'nock-graphql'"]},{"cmd":"yarn add nock-graphql","imports":[]},{"cmd":"pnpm add nock-graphql","imports":[]}],"homepage":"https://github.com/batrdn/nock-graphql#readme","github":"https://github.com/batrdn/nock-graphql","docs":null,"changelog":null,"pypi":null,"npm":"nock-graphql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}