form.spec.jsx 395 B

12345678910111213141516
  1. import {render} from 'sentry-test/reactTestingLibrary';
  2. import {Form} from 'sentry/components/deprecatedforms';
  3. describe('Form', function () {
  4. describe('render()', function () {
  5. it('renders with children', function () {
  6. const {container} = render(
  7. <Form onSubmit={() => {}}>
  8. <hr />
  9. </Form>
  10. );
  11. expect(container).toSnapshot();
  12. });
  13. });
  14. });