{"library":"chai-graphql","type":"library","category":null,"description":"chai-graphql v4.0.0 is a Chai plugin for asserting GraphQL responses, including data matching and error checking. It unwraps response.data and response.errors automatically and supports deep equals, subset matching, and error message validation with strings or regexes. Actively maintained with monthly releases, it works with both parsed JSON and local objects. Differentiated by its Chai integration and simple API for common GraphQL testing patterns.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","chai","chai-plugin","objects","graphql","graphql-response","plugin"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install chai-graphql","imports":["import chaiGraphQL from 'chai-graphql'","chai.use(chaiGraphQL)","assert.graphQL(response, expectedData)"]},{"cmd":"yarn add chai-graphql","imports":[]},{"cmd":"pnpm add chai-graphql","imports":[]}],"homepage":"https://github.com/bustlelabs/chai-graphql","github":"https://github.com/bustlelabs/chai-graphql","docs":null,"changelog":null,"pypi":null,"npm":"chai-graphql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}