DEV Community

Discussion on: Using msw to test React with GraphQL effectively

Collapse
 
kettanaito profile image
Artem Zakharchenko

A great introduction into efficient GraphQL testing. Well done, Yoshihiro!

I can also highly recommend tools like @mswjs/data to model your fixtures instead of using manual mock factories. It comes with mind-blowing TypeScript support and built-in querying client, making your experience with test fixtures unrivaled.