MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / portUtils.test.ts

File portUtils.test.ts

packages/cli/src/server/portUtils.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, it, vi } from "vitest";
2import { createServer, type Server } from "node:net";
3import { resolve } from "node:path";
4import { createServer as createHttpServer, type Server as HttpServer } from "node:http";

Callers

nothing calls this directly

Calls 10

closeAllFunction · 0.85
allocFreePortFunction · 0.85
testPortOnAllHostsFunction · 0.85
resolveFunction · 0.85
findPortAndServeFunction · 0.85
boundAddressFunction · 0.85
startConfigProbeServerFunction · 0.85
detectHyperframesServerFunction · 0.85
onceMethod · 0.80
listenMethod · 0.80

Tested by

no test coverage detected