Closing a websocket server in a unit test
Hello, I'm an author of rpc lib and I'm currently writing unit tests for it. I am facing a problem of closing a server. How should I do it without
deno
hanging forever?
my test case:
app.listen
here both starts the Deno.listener
and Deno.serveHttp
GitHub
GitHub - deno-libs/rpc: 📡 JSONRPC server implementation for Deno
📡 JSONRPC server implementation for Deno. Contribute to deno-libs/rpc development by creating an account on GitHub.
0 Replies