MCPcopy
hub / github.com/coder/code-server / proxy.test.ts

File proxy.test.ts

test/unit/node/proxy.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as express from "express"
2import { HttpCode } from "../../../src/common/http"
3import { wss, Router as WsRouter } from "../../../src/node/wsRouter"
4import { mockLogger } from "../../utils/helpers"

Callers

nothing calls this directly

Calls 11

mockLoggerFunction · 0.90
describeFunction · 0.85
listenMethod · 0.80
listenUpgradeMethod · 0.80
portMethod · 0.80
fetchMethod · 0.80
handleUpgradeMethod · 0.80
wsWaitMethod · 0.80
disposeMethod · 0.65
wsMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected