(text: string)
| 14 | }); |
| 15 | afterEach(async () => { await act(async () => root.unmount()); container.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals(); }); |
| 16 | async function click(text: string) { |
| 17 | const button = [...container.querySelectorAll('button')].find((item) => item.textContent === text); |
| 18 | expect(button).toBeDefined(); await act(async () => button!.click()); |
| 19 | } |
| 20 | |
| 21 | function clientFixture() { |
| 22 | const calls: { url: string; tool: string; args: Record<string, unknown> }[] = []; |
no test coverage detected