MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / static-server.test.ts

File static-server.test.ts

__tests__/scripts/static-server.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createServer, request, type Server } from "node:http";
2import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
3import { tmpdir } from "node:os";
4import path from "node:path";

Callers

nothing calls this directly

Calls 10

parseArgsFunction · 0.90
startStaticServerFunction · 0.90
startHttpServerFunction · 0.85
startServerLockedToCloudFunction · 0.85
startServerWithKeyFunction · 0.85
startServerFunction · 0.85
getJsonFunction · 0.70
getTextFunction · 0.70
closeMethod · 0.45

Tested by

no test coverage detected