diff --git a/packages/uniforms/__suites__/BaseForm.tsx b/packages/uniforms/__suites__/BaseForm.tsx index a060a50f2..b6baee8bf 100644 --- a/packages/uniforms/__suites__/BaseForm.tsx +++ b/packages/uniforms/__suites__/BaseForm.tsx @@ -25,7 +25,7 @@ export function testBaseForm(BaseForm: typeof UniformsBaseForm) { test(' - when rendered, have correct children', () => { const { container } = render( - +
@@ -36,14 +36,7 @@ export function testBaseForm(BaseForm: typeof UniformsBaseForm) { }); test(' - when submitted, calls `onSubmit` once', () => { - render( - , - ); + render(); fireEvent.submit(screen.getByTestId('form')); expect(onSubmit).toHaveBeenCalledTimes(1);