MCPcopy Create free account
hub / github.com/angular/components / defineTestVariables

Function defineTestVariables

src/aria/combobox/combobox.spec.ts:87–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 function defineTestVariables() {
88 const inputDebugElement = fixture.debugElement.query(By.directive(Combobox));
89 inputElement = inputDebugElement.nativeElement as HTMLInputElement;
90 }
91
92 function getOption(text: string): HTMLElement | null {
93 const options = Array.from(document.querySelectorAll('[ngoption]')) as HTMLElement[];

Callers 1

setupComboboxFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected