Skip to content

How to mock Apollo client to test graphql subscription #345

@Ofrishani

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?

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