(id: string)
| 134 | |
| 135 | const byTestId = (id: string): HTMLElement | null => container.querySelector(`[data-testid="${id}"]`); |
| 136 | const allByTestId = (id: string): HTMLElement[] => [...container.querySelectorAll<HTMLElement>(`[data-testid="${id}"]`)]; |
| 137 | |
| 138 | async function click(element: HTMLElement | null): Promise<void> { |
| 139 | expect(element, 'the control must exist').not.toBeNull(); |
no outgoing calls
no test coverage detected