(label: string)
| 65 | onOpenProject={onOpenProject} onActivityChange={onActivityChange} pollMs={pollMs} {...overrides} />)); |
| 66 | } |
| 67 | function button(label: string): HTMLButtonElement | undefined { |
| 68 | return [...container.querySelectorAll('button')].find(node => node.textContent?.trim() === label || node.getAttribute('aria-label') === label); |
| 69 | } |
| 70 | async function click(label: string): Promise<void> { |
| 71 | const node = button(label); |
| 72 | expect(node, `button ${label}`).toBeDefined(); |
no outgoing calls
no test coverage detected