(n: number)
| 224 | |
| 225 | describe('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. |
no outgoing calls
no test coverage detected