| 5 | import { HostIpcClient } from "../src/runtime/host-ipc/host-ipc-client.js"; |
| 6 | |
| 7 | class FakeTransport extends EventEmitter { |
| 8 | connected = true; |
| 9 | sent: unknown[] = []; |
| 10 | |
| 11 | send(message: unknown): boolean { |
| 12 | this.sent.push(message); |
| 13 | return true; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | test("host IPC client reports cleared channel sessions", async () => { |
| 18 | const transport = new FakeTransport(); |
nothing calls this directly
no outgoing calls
no test coverage detected