import { cleanup } from '@testing-library/react';
import { render } from '../../../../../../utils/theme-render-wrapper';
import { _palette, _typography } from '../../definitions';
import CustomCheckbox from '../custom-checkbox';

afterEach(cleanup);

describe('<CustomCheckbox />', () => {
  it(`should render an unchecked checkbox`, () => {
    render(<CustomCheckbox palette={_palette} />);
  });

  it(`should render a checked checkbox`, () => {
    render(<CustomCheckbox palette={_palette} checked />);
  });
});
