import React from 'react';

import InputSearch from './index';

const data = {
  label: 'InputSearch',
  name: 'input-search',
};

describe('InputSearch', () => {
  const defaultElement = <InputSearch {...data} />;
  let wrapper;

  beforeEach(() => {
    wrapper = shallow(defaultElement);
  });

  it('should render correctly', () => {
    expect(wrapper).toMatchSnapshot();
  });
});
