(text: string)
| 103 | } |
| 104 | |
| 105 | function preview(text: string): string { |
| 106 | const firstLine = text.split('\n')[0] ?? ''; |
| 107 | return firstLine.slice(0, 80); |
| 108 | } |
| 109 | |
| 110 | function stubText(text: string, label: string): string { |
| 111 | return `[${label} — ${text.length}B, head: "${preview(text)}"]`; |
no outgoing calls
no test coverage detected