(text: string)
| 83 | } |
| 84 | |
| 85 | function getWidgetEl(text: string): HTMLElement | null { |
| 86 | const widgets = getWidgetEls(); |
| 87 | return widgets.find(widget => widget.textContent?.trim() === text) || null; |
| 88 | } |
| 89 | |
| 90 | function getWidgetEls(): HTMLElement[] { |
| 91 | return fixture.debugElement |
no test coverage detected