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'm getting the following error when using cypress-graphql-mock with @apollo-client
It seems like it doesn't support the standard way @apollo-client makes fetch requests?
Please consider adding support for this.
I tried adding a very quick test myself to see how difficult it is to stub, but it seems straight forward? Even something as simple as this works:
functionfetchStub(path,request){if(request&&request.body){// Using operation name of the request to look for response mock dataconst{ operationName }=JSON.parse(request.body)
The text was updated successfully, but these errors were encountered:
I'm getting the following error when using
cypress-graphql-mock
with@apollo-client
It seems like it doesn't support the standard way @apollo-client makes fetch requests?
Please consider adding support for this.
I tried adding a very quick test myself to see how difficult it is to stub, but it seems straight forward? Even something as simple as this works:
The text was updated successfully, but these errors were encountered: