aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/form.test.tsx
blob: 8b534f1f865aa71e37cb5c133002f371ea3bc5c6 (plain)
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; backg
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();
  });
});
an class="p">: "contact@armandphilippot.com", "homepage": "https://www.armandphilippot.com/" } ], "homepage": "https://demo.armandphilippot.com/", "scripts": { "lint": "phpcs --standard=PSR2", "fix": "phpcbf --standard=PSR2" }, "require-dev": { "squizlabs/php_codesniffer": "^3.6" }, "require": { "vlucas/phpdotenv": "^5.3" } }