summaryrefslogtreecommitdiffstats
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.tsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/atoms/forms/form.test.tsx b/src/components/atoms/forms/form.test.tsx
new file mode 100644
index 0000000..8b534f1
--- /dev/null
+++ b/src/components/atoms/forms/form.test.tsx
@@ -0,0 +1,13 @@
+import { render, screen } from '@test-utils';
+import Form from './form';
+
+describe('Form', () => {
+ it('renders a form', () => {
+ render(
+ <Form aria-label="Jest form" onSubmit={() => null}>
+ Fields
+ </Form>
+ );
+ expect(screen.getByRole('form', { name: 'Jest form' })).toBeInTheDocument();
+ });
+});