{"library":"cypress-graphql-mock-network","type":"library","category":null,"description":"Cypress plugin that adds custom commands (cy.mockNetwork, cy.mockNetworkAdd, cy.mockNetworkReset) for mocking GraphQL API responses during Cypress end-to-end tests. Current stable version 1.0.2. Wraps GraphQL Mock Network to intercept network requests and return auto-generated or custom mocks. Requires Node >=12. Differentiates by providing a simple Cypress-native API for GraphQL mocking without external fixtures, leveraging a service worker for interception. Ships TypeScript types.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cypress-graphql-mock-network","imports":["import 'cypress-graphql-mock-network'","cy.mockNetwork({ schema })","cy.mockNetworkAdd({ Query: () => ({ ... }) })"]},{"cmd":"yarn add cypress-graphql-mock-network","imports":[]},{"cmd":"pnpm add cypress-graphql-mock-network","imports":[]}],"homepage":"https://github.com/warrenday/cypress-graphql-mock-network","github":"https://github.com/warrenday/cypress-graphql-mock-network","docs":null,"changelog":null,"pypi":null,"npm":"cypress-graphql-mock-network","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}