MCPcopy Create free account
hub / github.com/angular/angular / expectFromHtml

Function expectFromHtml

packages/compiler/test/render3/r3_ast_spans_spec.ts:320–322  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

318}
319
320function expectFromHtml(html: string) {
321 return expectFromR3Nodes(parse(html).nodes);
322}
323
324function expectFromR3Nodes(nodes: t.Node[]) {
325 const humanizer = new R3AstSourceSpans();

Callers 1

Calls 2

expectFromR3NodesFunction · 0.70
parseFunction · 0.50

Tested by

no test coverage detected