aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/form.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/forms/form.test.tsx')
-rw-r--r--src/components/atoms/forms/form.test.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/atoms/forms/form.test.tsx b/src/components/atoms/forms/form.test.tsx
index 9cd3c58..8b534f1 100644
--- a/src/components/atoms/forms/form.test.tsx
+++ b/src/components/atoms/forms/form.test.tsx
@@ -3,7 +3,11 @@ import Form from './form';
describe('Form', () => {
it('renders a form', () => {
- render(<Form aria-label="Jest form" onSubmit={() => null}></Form>);
+ render(
+ <Form aria-label="Jest form" onSubmit={() => null}>
+ Fields
+ </Form>
+ );
expect(screen.getByRole('form', { name: 'Jest form' })).toBeInTheDocument();
});
});