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

Function makeOutput

apps/kimi-code/test/tui/task-output-viewer.test.ts:226–228  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

224
225describe('TaskOutputViewer — live tail via setProps', () => {
226 function makeOutput(n: number): string {
227 return Array.from({ length: n }, (_, i) => `line-${String(i + 1).padStart(3, '0')}`).join('\n');
228 }
229
230 it('follows new lines when the viewer is already parked at the bottom', () => {
231 // 5 lines, body has ~26 viewable rows → user is at bottom by default.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected