From c47214a616d3e094e7fc545bcdc630bcc330978c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= <37746259+piotrpospiech@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:40:05 +0100 Subject: [PATCH] fixed query element in test --- packages/uniforms-mui/__tests__/SelectField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uniforms-mui/__tests__/SelectField.tsx b/packages/uniforms-mui/__tests__/SelectField.tsx index 7cd107c41..e5625772b 100644 --- a/packages/uniforms-mui/__tests__/SelectField.tsx +++ b/packages/uniforms-mui/__tests__/SelectField.tsx @@ -77,7 +77,7 @@ describe('@RTL - SelectField tests', () => { schema: z.object({ x: z.enum(['a', 'b']) }), }); - expect(screen.getByText('a')).not.toBeInTheDocument(); + expect(screen.queryByText('a')).not.toBeInTheDocument(); expect(screen.queryByText('b')).not.toBeInTheDocument(); });