import React from 'react'; import { render } from '@testing-library/react'; import { FileGroup } from '../'; import FormTestBase from '../__Tests__/FormTestBase'; describe('FileGroup', () => { it('renders without crashing', () => { render( {({ Field }) => ( )} ); }); it('has matching snapshot', () => { const renderResult = render( {({ Field }) => ( )} ); expect(renderResult.asFragment()).toMatchSnapshot(); }); });