aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/form/form.test.tsx
blob: 08165f53ba83503fdc190e54f862372ff42a0153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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();
  });
});