(
value: string,
kind: CapRows['rows'][number]['kind'],
gapBefore = false,
chars = END_CAP_CHARS_SANS
)
| 566 | const text = endCapText(cap.boundary); |
| 567 | const rows: CapRows['rows'] = []; |
| 568 | const push = ( |
| 569 | value: string, |
| 570 | kind: CapRows['rows'][number]['kind'], |
| 571 | gapBefore = false, |
| 572 | chars = END_CAP_CHARS_SANS |
| 573 | ): void => { |
| 574 | wrapText(value, chars).forEach((line, i) => |
| 575 | rows.push({ text: line, kind, gapBefore: gapBefore && i === 0 }) |
| 576 | ); |
| 577 | }; |
| 578 | |
| 579 | // On screen the bold lead and the sentence after it share one paragraph. At |
| 580 | // 32 characters a line the lead fills one on its own anyway, so the export |
no test coverage detected