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

Function expectFromR3Nodes

packages/compiler/test/render3/r3_ast_spans_spec.ts:339–343  ·  view source on GitHub ↗
(nodes: t.Node[])

Source from the content-addressed store, hash-verified

337}
338
339function expectFromR3Nodes(nodes: t.Node[]) {
340 const humanizer = new R3AstSourceSpans();
341 t.visitAll(humanizer, nodes);
342 return expect(humanizer.result);
343}
344
345describe('R3 AST source spans', () => {
346 describe('nodes without binding', () => {

Callers 1

expectFromHtmlFunction · 0.70

Calls 1

visitAllMethod · 0.45

Tested by

no test coverage detected