aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/form/form.test.tsx
blob: 217b7f644ca5a3697b4b94aeab25fcdb41923a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { describe, expect, it } from '@jest/globals';
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();
  });
});