(n: number)
| 115 | |
| 116 | describe('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 }); |
no outgoing calls
no test coverage detected