(testId: string)
| 45 | } |
| 46 | |
| 47 | export async function verifyNotPresentByTestId(testId: string): Promise<void> { |
| 48 | const element = await waitFor(() => screen.queryByTestId(testId)); |
| 49 | expect(element).not.toBeInTheDocument(); |
| 50 | } |
| 51 | |
| 52 | export async function verifyNotPresentByText(text: string): Promise<void> { |
| 53 | const element = screen.queryByText(text); |
no outgoing calls
no test coverage detected