TypeScript: errors: GraphQLError[] in MockedResponse – Help – Apollo GraphQL community

TypeScript: errors: GraphQLError[] in MockedResponse – Help – Apollo GraphQL community

According to the docs: here in graphql-errors The correct way to test a pretend error is: const dogMock = { // … result: { errors: [new …

 

Read More Google Alert – graphql