MCPcopy
hub / github.com/coder/code-server / FakeVscodeSockets

Interface FakeVscodeSockets

test/utils/helpers.ts:140–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140interface FakeVscodeSockets {
141 /* If called, closes all servers after the first connection. */
142 once(): FakeVscodeSockets
143
144 /* Manually close all servers. */
145 close(): Promise<void>
146}
147
148/**
149 * Creates servers for each socketPath specified.

Callers 14

socket.test.tsFile · 0.80
createProxyMethod · 0.80
startProxyServerMethod · 0.80
_startMethod · 0.80
canConnectFunction · 0.80
getAvailablePortFunction · 0.65
closeFunction · 0.65
update.test.tsFile · 0.65
app.test.tsFile · 0.65
cli.test.tsFile · 0.65
resolveFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected