import * as React from 'react';
import { render } from '@testing-library/react';
import { Button } from '../../button';
import { ButtonGroup } from '../index';
describe('ButtonGroup', () => {
it('should render correctly', () => {
const wrapper = render(
);
expect(() => wrapper.unmount()).not.toThrow();
});
it('ref should be forwarded', () => {
const ref = React.createRef();
render(
);
expect(ref.current).not.toBeNull();
});
});