You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to add some tests in our GraphQL subscriptions server to make sure subscriptions are working well, my current problem is that subscribe happens after our pubsub.publish call.
example:
client.subscribe()pubsub.publish()// this happens before `subscribe` completes
Story
I'd like to add some tests in our GraphQL subscriptions server to make sure subscriptions are working well, my current problem is that
subscribe
happens after ourpubsub.publish
call.example:
similar to the current test that uses wait(10)
https://github.com/enisdenjo/graphql-transport-ws/blob/f76ac73e9d21c80abe0118007e168e4f5d525036/src/tests/client.ts#L113
does it make sense to emit an
event
when thesubscribe
is "ready"The text was updated successfully, but these errors were encountered: