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

Function doc

packages/core/test/hydration/marker_spec.ts:19–21  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

17 }
18
19 async function doc(html: string): Promise<Document> {
20 return new DOMParser().parseFromString(html, 'text/html');
21 }
22
23 it('fails without integrity marker comment', async () => {
24 const dom = await doc('<app-root></app-root>');

Callers 2

marker_spec.tsFile · 0.85
getStyleHostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected