DEV Community 👩‍💻👨‍💻

Leigh Halliday
Leigh Halliday

Posted on

Mocking GraphQL Queries in React & Apollo (Video)

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: https://github.com/leighhalliday/apollo-generating-types

Using Static Mocks

Using Dynamic / Auto Mocks

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.