MCPcopy
hub / github.com/coder/mux / oauthLoopbackServer.test.ts

File oauthLoopbackServer.test.ts

src/node/utils/oauthLoopbackServer.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import http from "node:http";
2import { describe, it, expect, afterEach } from "bun:test";
3import type { LoopbackServer } from "./oauthLoopbackServer";
4import { startLoopbackServer } from "./oauthLoopbackServer";

Callers

nothing calls this directly

Calls 7

startLoopbackServerFunction · 0.90
portFromUriFunction · 0.85
handlerFunction · 0.70
httpGetFunction · 0.70
closeMethod · 0.65
resolveFunction · 0.50
cancelMethod · 0.45

Tested by

no test coverage detected