MCPcopy Index your code
hub / github.com/angular/angular / expectFromHtml

Function expectFromHtml

packages/compiler/test/render3/r3_ast_spans_spec.ts:325–327  ·  view source on GitHub ↗
(html: string, selectorlessEnabled = false)

Source from the content-addressed store, hash-verified

323}
324
325function expectFromHtml(html: string, selectorlessEnabled = false) {
326 return expectFromR3Nodes(parse(html, {selectorlessEnabled}).nodes);
327}
328
329function expectFromR3Nodes(nodes: t.Node[]) {
330 const humanizer = new R3AstSourceSpans();

Callers 1

Calls 2

expectFromR3NodesFunction · 0.70
parseFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…