(span: ParseSourceSpan | null | undefined)
| 326 | } |
| 327 | |
| 328 | function humanizeSpan(span: ParseSourceSpan | null | undefined): string { |
| 329 | if (span === null || span === undefined) { |
| 330 | return `<empty>`; |
| 331 | } |
| 332 | return span.toString(); |
| 333 | } |
| 334 | |
| 335 | function expectFromHtml(html: string, selectorlessEnabled = false) { |
| 336 | return expectFromR3Nodes(parse(html, {selectorlessEnabled}).nodes); |
no test coverage detected