MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / bootReal

Function bootReal

packages/server/test/auth-wiring.e2e.test.ts:55–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55async function bootReal(): Promise<RunningServer> {
56 const r = await startServer({
57 host: '127.0.0.1',
58 port: 0,
59 lockPath,
60 logger: pino({ level: 'silent' }),
61 coreProcessOptions: { homeDir: bridgeHome },
62 });
63 running.push(r);
64 return r;
65}
66
67function wsUrl(http: string): string {
68 return http.replace(/^http:\/\//, 'ws://') + '/api/v1/ws';

Callers 1

Calls 2

startServerFunction · 0.90
pushMethod · 0.45

Tested by

no test coverage detected