Parrot-GraphQL

JSON →
library 5.3.0 ·javascript
verified Jun 7, 2026

Parrot-GraphQL is a helper library for creating GraphQL mocks used with Parrot, resolving both GET and POST requests to GraphQL endpoints. Version 5.3.0 wraps @graphql-tools/mock's mockServer to define mocking logic per schema type. It simplifies mocking GraphQL queries by allowing users to provide a schema string and custom mock resolvers, integrated seamlessly with Parrot's scenario-based testing. Released under American Express, it targets Node.js with CommonJS require syntax, though ESM may be available in newer versions. The library is ideal for integration and end-to-end testing with GraphQL APIs.