(span: ParseSourceSpan | null | undefined)
| 311 | } |
| 312 | |
| 313 | function humanizeSpan(span: ParseSourceSpan | null | undefined): string { |
| 314 | if (span === null || span === undefined) { |
| 315 | return `<empty>`; |
| 316 | } |
| 317 | return span.toString(); |
| 318 | } |
| 319 | |
| 320 | function expectFromHtml(html: string) { |
| 321 | return expectFromR3Nodes(parse(html).nodes); |
no test coverage detected