import React from 'react';
import renderer from 'react-test-renderer';
import VisibilityFilter from './index';

describe('VisibilityFilter', () => {
  test('it renders correctly', () => {
    const component = renderer.create(
      <VisibilityFilter title="Barcode" isVisible onChange={() => {}} />,
    );
    const tree = component.toJSON();
    expect(tree).toMatchSnapshot();
  });
});
