form.spec.jsx 379 B

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