Replies: 1 comment
-
Thanks @pastrom! Yes, that's correct. You need to use the Laika link when you create the Apollo Client to be able to use Laika in Cypress tests. You can conditionally add the link only when running Cypress (checking for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Awesome work on this tool - its just what I've been looking for.
Although, I haven't managed to set up a working Cypress for the project Im working on. I've been trying to mock both gql queries (http) and subscriptions (ws) made by my Angular components using Apollo. To confirm the basic understanding;
(as you have done on the 'Installation and usage' part of your Medium article https://zendesk.engineering/mock-graphql-operations-with-laika-the-only-apollo-client-mocking-tool-youll-need-c116e1f62128)
Beta Was this translation helpful? Give feedback.
All reactions