MCPcopy
hub / github.com/angular/components / expectNoCellFocused

Function expectNoCellFocused

src/material/chips/chip-grid.spec.ts:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 let primaryActions: NodeListOf<HTMLElement>;
60
61 const expectNoCellFocused = () => {
62 expect(Array.from(primaryActions)).not.toContain(document.activeElement as HTMLElement);
63 };
64
65 const expectLastCellFocused = () => {
66 expect(document.activeElement).toBe(primaryActions[primaryActions.length - 1]);

Callers 1

chip-grid.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…