apollo-test-utils
This is a very rudimentary package that currently only exports functions for mocking an Apollo Client network interface. Here's an example for how to use it:
; ; ; ; const typeDefs = ` type User { id: Int name: String } type Query { user: User } `; const schema = ; ; const mockNetworkInterface = ; const client = networkInterface: mockNetworkInterface ; client;