(index: number)
| 116 | } |
| 117 | |
| 118 | function isTabFocused(index: number): boolean { |
| 119 | if (testComponent.focusMode() === 'roving') { |
| 120 | return tabElements[index]?.getAttribute('tabindex') === '0'; |
| 121 | } else { |
| 122 | return tabListElement?.getAttribute('aria-activedescendant') === tabElements[index]?.id; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | afterEach(async () => { |
| 127 | if (fixture.nativeElement) { |
no test coverage detected
searching dependent graphs…