(span: ParseSourceSpan | null | undefined)
| 316 | } |
| 317 | |
| 318 | function humanizeSpan(span: ParseSourceSpan | null | undefined): string { |
| 319 | if (span === null || span === undefined) { |
| 320 | return `<empty>`; |
| 321 | } |
| 322 | return span.toString(); |
| 323 | } |
| 324 | |
| 325 | function expectFromHtml(html: string, selectorlessEnabled = false) { |
| 326 | return expectFromR3Nodes(parse(html, {selectorlessEnabled}).nodes); |
no test coverage detected