(span: ParseSourceSpan | null | undefined)
| 345 | } |
| 346 | |
| 347 | function humanizeSpan(span: ParseSourceSpan | null | undefined): string { |
| 348 | if (span === null || span === undefined) { |
| 349 | return `<empty>`; |
| 350 | } |
| 351 | return span.toString(); |
| 352 | } |
| 353 | |
| 354 | function expectFromHtml(html: string, selectorlessEnabled = false) { |
| 355 | return expectFromR3Nodes(parse(html, {selectorlessEnabled}).nodes); |
no test coverage detected