import { render, screen } from '../../test-utils';

import SearchBox from '.';

describe('SearchBox', () => {
  const props = {
    classNames: {},
    onChange: jest.fn(),
    onClick: jest.fn(),
    placeholder: 'placeholder',
    value: 'value',
    ref: jest.fn(),
  };

  it('renders', () => {
    render(<SearchBox {...props} />);

    expect(screen.getByRole('searchbox')).toBeInTheDocument();
  });
});
