(text: string)
| 2722 | |
| 2723 | const panels = () => Array.from(fixture.nativeElement.querySelectorAll('.panel')); |
| 2724 | const panelByText = (text: string) => |
| 2725 | panels().find((el) => (el as HTMLElement).textContent?.includes(text)) as |
| 2726 | HTMLElement | undefined; |
| 2727 | |
| 2728 | expect(panels().length).toBe(1); |
| 2729 | expect(panelByText('Panel A')).toBeTruthy(); |
no test coverage detected