Close the client explicitly on REPL exit and wait for the peer with a bounded deadline. Cover quit, exit, EOF, pending notifications, and incomplete handshakes without suppressing genuine protocol failures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| controls.test.ts | ||
| host.ts | ||
| repl.test.ts | ||
| server.test.ts | ||
| server.ts | ||
| sources.test.ts | ||
| websocket.test.ts | ||