(fixture: ComponentFixture<unknown>)
| 112 | } |
| 113 | |
| 114 | function defineTestVariables(fixture: ComponentFixture<unknown>) { |
| 115 | listboxDebugElement = fixture.debugElement.query(By.directive(Listbox)); |
| 116 | optionDebugElements = fixture.debugElement.queryAll(By.directive(Option)); |
| 117 | listboxInstance = listboxDebugElement.injector.get<Listbox<unknown>>(Listbox); |
| 118 | listboxElement = listboxDebugElement.nativeElement; |
| 119 | optionElements = optionDebugElements.map(option => option.nativeElement); |
| 120 | } |
| 121 | |
| 122 | afterEach(async () => await runAccessibilityChecks(listboxElement)); |
| 123 |
no test coverage detected
searching dependent graphs…