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

Function assertStyle

packages/core/test/acceptance/styling_spec.ts:4419–4421  ·  view source on GitHub ↗
(element: HTMLElement, prop: string, value: any)

Source from the content-addressed store, hash-verified

4417});
4418
4419function assertStyle(element: HTMLElement, prop: string, value: any) {
4420 expect((element.style as any)[prop]).toEqual(value);
4421}
4422
4423function expectStyle(element: HTMLElement) {
4424 return expect(getElementStyles(element));

Callers 1

styling_spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…