text: /* @flow */
  import React from 'react';
  import { Formik, Field, Form } from 'formik';
  import renderer from 'react-test-renderer';
  
  import TextField from '../TextField';
  
  test('TextField Renders Correctly', () => {
    const component = renderer.create(
      <Formik onSubmit={() => null}>
        <Form>
          <Field name="test" label="Text" component={TextField} />
        </Form>
      </Formik>
    );
  
    expect(component.toJSON()).toMatchSnapshot();
  });
  