import React from 'react';
import { render } from '@testing-library/react';
import FormTestBase from '../__Tests__/FormTestBase';

describe('FormTestBase', () => {
  it('renders without crashing', () => {
    render(<FormTestBase>{() => <></>}</FormTestBase>);
  });

  it('has matching snapshot', () => {
    const renderResult = render(<FormTestBase>{() => <></>}</FormTestBase>);
    expect(renderResult.asFragment()).toMatchSnapshot();
  });
});
