(fixture: ComponentFixture<unknown>)
| 119 | } |
| 120 | |
| 121 | function defineTestVariables(fixture: ComponentFixture<unknown>) { |
| 122 | listboxDebugElement = fixture.debugElement.query(By.directive(Listbox)); |
| 123 | optionDebugElements = fixture.debugElement.queryAll(By.directive(Option)); |
| 124 | listboxInstance = listboxDebugElement.injector.get<Listbox<unknown>>(Listbox); |
| 125 | listboxElement = listboxDebugElement.nativeElement; |
| 126 | optionElements = optionDebugElements.map(option => option.nativeElement); |
| 127 | } |
| 128 | |
| 129 | afterEach(async () => await runAccessibilityChecks(listboxElement)); |
| 130 |
no test coverage detected