( lineCount = 640, lineWidth = 96, )
| 44 | * previews alive in the transcript, not from tiny examples. |
| 45 | */ |
| 46 | export function makeLargeRenderedFileCode( |
| 47 | lineCount = 640, |
| 48 | lineWidth = 96, |
| 49 | ): string { |
| 50 | return Array.from( |
| 51 | { length: lineCount }, |
| 52 | (_, line) => |
| 53 | `export const value_${line.toString(36).padStart(3, '0')} = '${`${line}`.padEnd(lineWidth, 'x')}';`, |
| 54 | ).join('\n') |
| 55 | } |
| 56 | |
| 57 | function summarizeFrames( |
| 58 | scenario: string, |
no test coverage detected