MCPcopy Index your code
hub / github.com/coder/code-server / codeServer

Function codeServer

test/unit/node/routes/login.test.ts:46–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 describe("/login", () => {
45 let _codeServer: httpserver.HttpServer | undefined
46 function codeServer(): httpserver.HttpServer {
47 if (!_codeServer) {
48 throw new Error("tried to use code-server before setting it up")
49 }
50 return _codeServer
51 }
52
53 // Store whatever might be in here so we can restore it afterward.
54 // TODO: We should probably pass this as an argument somehow instead of

Callers 1

login.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected