()
| 81 | }; |
| 82 | |
| 83 | function getActiveCellId(): string | null { |
| 84 | if (fixture.componentInstance.focusMode() === 'roving') { |
| 85 | const activeEl = gridElement.querySelector('[tabindex="0"]'); |
| 86 | return activeEl ? activeEl.id : null; |
| 87 | } |
| 88 | return gridElement.getAttribute('aria-activedescendant'); |
| 89 | } |
| 90 | |
| 91 | async function setupGrid(opts?: { |
| 92 | disabled?: boolean; |
no test coverage detected