import React from 'react';
import enzyme, { shallow } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';

import CreatePatientPage from './CreatePatient';

enzyme.configure({ adapter: new Adapter() });

describe('<CreatePatientPage />', () => {
  it('.it renders <CreatePatientPage />', () => {
    const component = shallow(<CreatePatientPage />);
    expect(component).toMatchSnapshot();
  });
});
