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

Function writer

apps/kimi-code/test/cli/run-prompt.test.ts:145–155  ·  view source on GitHub ↗
(columns?: number)

Source from the content-addressed store, hash-verified

143}
144
145function writer(columns?: number) {
146 let text = '';
147 return {
148 columns,
149 write: vi.fn((chunk: string) => {
150 text += chunk;
151 return true;
152 }),
153 text: () => text,
154 };
155}
156
157function fakeProcess() {
158 const listeners = new Map<NodeJS.Signals, () => Promise<void> | void>();

Callers 1

run-prompt.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected