You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest that MSW would provide a standard set of request handlers for mocking a GraphQL API.
Motivation
GraphQL is an adopted technology, mocking which would be beneficial for users
Mock-driven GraphQL development may be a good try-out for the technology, as you don't have to write any server-side code before deciding to fully adopt GraphQL
Features
Ability to target GraphQL operations based on type (query/mutation) and name
Ability to mock response data and errors according to GraphQL specification
I suggest that MSW would provide a standard set of request handlers for mocking a GraphQL API.
Motivation
Features
Usage
Mocking a query
Mocking a mutation
The text was updated successfully, but these errors were encountered: