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

Function bigOutput

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

Source from the content-addressed store, hash-verified

115
116describe('TaskOutputViewer — scrolling', () => {
117 function bigOutput(n: number): string {
118 return Array.from({ length: n }, (_, i) => `line-${String(i + 1).padStart(3, '0')}`).join('\n');
119 }
120
121 it('renders the top of the buffer initially', () => {
122 const viewer = makeViewer({ output: bigOutput(100), rows: 20 });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected