Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
320
function
expectFromHtml(html: string) {
321
return
expectFromR3Nodes(parse(html).nodes);
322
}
323
324
function
expectFromR3Nodes(nodes: t.Node[]) {
325
const
humanizer =
new
R3AstSourceSpans();
Callers
1
r3_ast_spans_spec.ts
File · 0.70
Calls
2
expectFromR3Nodes
Function · 0.70
parse
Function · 0.50
Tested by
no test coverage detected