import { render } from '@testing-library/react';
import { Chart } from '../Chart/Chart';
import { ChartGroup } from '../ChartGroup/ChartGroup';
import { ChartBar } from './ChartBar';
Object.values([true, false]).forEach(() => {
test('ChartBar', () => {
const { asFragment } = render();
expect(asFragment()).toMatchSnapshot();
});
});
test('renders component data', () => {
const { asFragment } = render(
);
expect(asFragment()).toMatchSnapshot();
});