Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ server.test.ts
File
server.test.ts
apps/kimi-code/test/cli/server/server.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Tests
for
`kimi server run` and `kimi web` Commander wiring.
3
*
4
* These tests don't actually start the server — they verify the parsed shape
Callers
nothing calls this directly
Calls
15
addLifecycleCommands
Function · 0.90
registerServerCommand
Function · 0.90
makeProgram
Function · 0.85
resolveServiceManager
Function · 0.85
handleRunCommand
Function · 0.85
parsePort
Function · 0.85
parseLogLevel
Function · 0.85
resolveServerWebAssetsDir
Function · 0.85
parseAllowedHostArgs
Function · 0.85
lockConnectHost
Function · 0.85
allocateFreePort
Function · 0.85
resolveDaemonPort
Function · 0.85
Tested by
no test coverage detected