MCPcopy
hub / github.com/angular/angular / expectHtml

Function expectHtml

packages/compiler/test/i18n/integration_common.ts:122–124  ·  view source on GitHub ↗
(el: DebugElement, cssSelector: string)

Source from the content-addressed store, hash-verified

120}
121
122function expectHtml(el: DebugElement, cssSelector: string): any {
123 return expect(stringifyElement(el.query(By.css(cssSelector)).nativeElement));
124}
125
126export const HTML = `
127<div>

Callers 1

validateHtmlFunction · 0.85

Calls 3

stringifyElementFunction · 0.90
cssMethod · 0.80
queryMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…