Skip to content

How to mock Apollo client to test graphql subscription #345

Description

@Ofrishani

Does it work with apollo client?
I'm trying to create mock client in cypress to graphql subscription,
but apollo use ‘WebSocketLink’ instead of ‘WebSocket’ so it did not work.
How can I use it with cypress and graphql?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions