import { TextField } from './TextField'; import { shallow } from 'enzyme'; import { Field, Formik } from 'formik'; describe('Snapshot Testing', () => { test('Required Props', () => { const textField = shallow( undefined}> ); expect(textField).toMatchSnapshot(); }); });