Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
type
{ Server } from
"node:http"
;
2
import
{ mkdirSync, mkdtempSync, rmSync, writeFileSync } from
"node:fs"
;
3
import
{ tmpdir } from
"node:os"
;
4
import
path from
"node:path"
;
Callers
nothing calls this directly
Calls
7
parseArgs
Function · 0.90
startStaticServer
Function · 0.90
startServerWithRuntimeInfo
Function · 0.85
startServerLockedToCloud
Function · 0.85
startServerWithKey
Function · 0.85
startServer
Function · 0.85
close
Method · 0.80
Tested by
no test coverage detected