Testing
Relay Modern Testing: MockPayloadGenerator, relay-test-utils, and Fragment Testing
Relay Modern is Facebook's production GraphQL client, built for performance and type safety. Its testing approach is unlike Apollo or urql — Relay provides relay-test-utils with MockEnvironment and MockPayloadGenerator that work at the Relay runtime level. This guide covers the full Relay testing toolkit. Why Relay Testing