How to mock and call a subscription? #3230
Unanswered
TheDutchCoder
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know graphql-tools supports mocking subscriptions (#2091), but there's no example in the docs of how to actually implement it.
I'm wondering how one would trigger the subscription in the first place.
Any help would be appreciated!
For context: I'm mocking out an Amplify implementation and I want to trigger a subscription in a Cypress test, so that I can assert it's handled correctly by the component.
Beta Was this translation helpful? Give feedback.
All reactions