(label: string)
| 35 | } |
| 36 | |
| 37 | function button(label: string): HTMLButtonElement | null { |
| 38 | return [...container.querySelectorAll('button')].find(node => node.textContent?.includes(label)) ?? null; |
| 39 | } |
| 40 | |
| 41 | describe('ProjectSwitcher', () => { |
| 42 | it('opens the complete project list without search and selects the exact project name only on activation', async () => { |
no outgoing calls
no test coverage detected