tgriesser / cypress-graphql-mock

Adds commands for executing a mocked GraphQL server using only the client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi GQL endpoint options

PeterMK85 opened this issue · comments

Our ApolloClient receives two parallel GQL endpoints and our queries are resolving to them.

Tried to provide endpoint for multiple mockGraphql methods or defining on a task, but so far no luck with it.

Do you have any suggestion to approach this, with a maintainable manner?