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

Function expectLastCellFocused

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

Source from the content-addressed store, hash-verified

63 };
64
65 const expectLastCellFocused = () => {
66 expect(document.activeElement).toBe(primaryActions[primaryActions.length - 1]);
67 };
68
69 function wait(milliseconds: number) {
70 return new Promise(resolve => setTimeout(resolve, milliseconds));

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…