(text: string)
| 85 | } |
| 86 | |
| 87 | function getOption(text: string): HTMLElement | null { |
| 88 | const options = Array.from(document.querySelectorAll('[ngoption]')) as HTMLElement[]; |
| 89 | return options.find(option => option.textContent?.trim() === text) || null; |
| 90 | } |
| 91 | |
| 92 | function getOptions(): HTMLElement[] { |
| 93 | return Array.from(document.querySelectorAll('[ngoption]')) as HTMLElement[]; |
no outgoing calls
no test coverage detected
searching dependent graphs…