From 9c42aa7d35bf2218856f6a09ee023a7493e3055f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= Date: Wed, 14 Feb 2024 15:32:40 +0100 Subject: [PATCH] refactor --- packages/uniforms/__suites__/connectField.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/uniforms/__suites__/connectField.tsx b/packages/uniforms/__suites__/connectField.tsx index 823d67c68..5c6eefcd8 100644 --- a/packages/uniforms/__suites__/connectField.tsx +++ b/packages/uniforms/__suites__/connectField.tsx @@ -143,9 +143,7 @@ export function testConnectField() { const value = 'some value'; const input = screen.getByTestId('field'); - fireEvent.change(input, { - target: { value }, - }); + fireEvent.change(input, { target: { value } }); expect(onChange).toBeCalledWith('another', value); }); @@ -164,9 +162,7 @@ export function testConnectField() { const input = screen.getByTestId('field'); const value = 'test'; - fireEvent.change(input, { - target: { value }, - }); + fireEvent.change(input, { target: { value } }); expect(onChange).toBeCalledWith('field.subfield', value); });