import { render } from '../../../utils/theme-render-wrapper';
import { Switch } from './switch';

describe('<Switch />', () => {
  it('should render successfully', () => {
    const { baseElement } = render(<Switch />);
    expect(baseElement).toBeTruthy();
  });

  it('should render with label text', () => {
    const { baseElement } = render(<Switch label="Label text" hovered />);
    expect(baseElement).toBeTruthy();
  });

  it('should render checked+disabled+hovered', () => {
    const { baseElement } = render(<Switch checked disabled hovered />);
    expect(baseElement).toBeTruthy();
  });
});
