DEV Community


Mocking GraphQL Queries in React & Apollo (Video)

leighhalliday profile image Leigh Halliday ・1 min read

All about how to mock your GraphQL queries for tests. It can be done using static mocks or dynamic (auto) mocks. Source code available here:

Using Static Mocks

Using Dynamic / Auto Mocks

Discussion (0)

Editor guide