(text: string)
| 2739 | |
| 2740 | const panels = () => Array.from(fixture.nativeElement.querySelectorAll('.panel')); |
| 2741 | const panelByText = (text: string) => |
| 2742 | panels().find((el) => (el as HTMLElement).textContent?.includes(text)) as |
| 2743 | HTMLElement | undefined; |
| 2744 | |
| 2745 | expect(panels().length).toBe(1); |
| 2746 | expect(panelByText('Panel A')).toBeTruthy(); |
no test coverage detected