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();
  });
});
