import React from 'react';
import { create } from 'react-test-renderer';
import { CheckboxGroup } from '..';
test('No Legend', () => {
const tree = create(
);
expect(tree.toJSON()).toMatchSnapshot();
});
test('Legend', () => {
const tree = create(
);
expect(tree.toJSON()).toMatchSnapshot();
});
test('Disable', () => {
const tree = create(
);
expect(tree.toJSON()).toMatchSnapshot();
});
test('Direction', () => {
expect(
create(
).toJSON()
).toMatchSnapshot();
expect(
create(
).toJSON()
).toMatchSnapshot();
expect(
create(
).toJSON()
).toMatchSnapshot();
});