Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ start.test.ts
File
start.test.ts
packages/server/test/start.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* `startServer` + lock integration + DI wiring (ROADMAP P0.12 + P0.14).
3
*
4
* Bind to port 0 → ephemeral port; tmpdir lock path → no `~/.kimi` interference.
Callers
nothing calls this directly
Calls
15
startServer
Function · 0.90
fixedTokenAuth
Function · 0.90
listenWithPortRetry
Function · 0.90
createServerLogger
Function · 0.90
authHeaders
Function · 0.90
allocateAdjacentFreePair
Function · 0.85
listenOnPort
Function · 0.85
silentLogger
Function · 0.85
closeNetServer
Function · 0.85
fakeGateway
Function · 0.85
addrInUse
Function · 0.85
json
Method · 0.80
Tested by
no test coverage detected