aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/form/form.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/atoms/forms/form/form.test.tsx')
-rw-r--r--src/components/atoms/forms/form/form.test.tsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/atoms/forms/form/form.test.tsx b/src/components/atoms/forms/form/form.test.tsx
new file mode 100644
index 0000000..08165f5
--- /dev/null
+++ b/src/components/atoms/forms/form/form.test.tsx
@@ -0,0 +1,13 @@
+import { render, screen } from '../../../../../tests/utils';
+import { Form } from './form';
+
+describe('Form', () => {
+ it('renders a form', () => {
+ render(
+ <Form aria-label="A form name" onSubmit={() => null}>
+ Fields
+ </Form>
+ );
+ expect(screen.getByRole('form')).toBeInTheDocument();
+ });
+});