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

Function makeResult

apps/kimi-code/test/cli/export.test.ts:125–141  ·  view source on GitHub ↗
(id: string, zipPath: string)

Source from the content-addressed store, hash-verified

123}
124
125function makeResult(id: string, zipPath: string): ExportSessionResult {
126 const manifest: ExportSessionManifest = {
127 sessionId: id,
128 exportedAt: '2026-04-18T12:00:00.000Z',
129 kimiCodeVersion: '1.27.0',
130 wireProtocolVersion: '1.0',
131 os: 'test',
132 nodejsVersion: '22.0.0',
133 workspaceDir: tmp,
134 };
135 return {
136 zipPath,
137 entries: ['manifest.json', 'wire.jsonl'],
138 sessionDir: join(tmp, 'sessions', id),
139 manifest,
140 };
141}
142
143function makeDeps(overrides: Partial<ExportDeps> = {}): {
144 deps: ExportDeps;

Callers 2

makeDepsFunction · 0.85
export.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected