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

Function bootDaemon

packages/server/test/auth.e2e.test.ts:59–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57});
58
59async function bootDaemon(): Promise<RunningServer> {
60 server = await startServer({
61 serviceOverrides: [fixedTokenAuth()],
62 host: '127.0.0.1',
63 port: 0,
64 lockPath,
65 logger: pino({ level: 'silent' }),
66 coreProcessOptions: { homeDir: bridgeHome },
67 });
68 return server;
69}
70
71function appOf(r: RunningServer): {
72 inject: (req: unknown) => Promise<{ statusCode: number; json: () => unknown }>;

Callers 1

auth.e2e.test.tsFile · 0.70

Calls 2

startServerFunction · 0.90
fixedTokenAuthFunction · 0.90

Tested by

no test coverage detected