Is your feature request related to a problem? Please describe.
This package doesn't support tRPC subscriptions (websockets), for example when the client looks like:
Unfortunately, the client/test will time out because the http request never gets upgraded to websocket.
Describe the solution you'd like
Handle the initial http request for upgrading from http to WebSocket. The request has headers:
Then, the package might also get another cool feature: to control when messages/event on the tRPC subscription (websocket) are sent to the client in the test.
Is your feature request related to a problem? Please describe. This package doesn't support tRPC subscriptions (websockets), for example when the client looks like:
Unfortunately, the client/test will time out because the http request never gets upgraded to websocket.
Describe the solution you'd like Handle the initial http request for upgrading from http to WebSocket. The request has headers:
Then, the package might also get another cool feature: to control when messages/event on the tRPC subscription (websocket) are sent to the client in the test.