import { render } from '@testing-library/react';
import { ChartLegend } from '../ChartLegend/ChartLegend';
import { ChartLabel } from '../ChartLabel/ChartLabel';
import { ChartContainer } from './ChartContainer';
Object.values([true, false]).forEach(() => {
test('ChartContainer', () => {
const { asFragment } = render();
expect(asFragment()).toMatchSnapshot();
});
});
test('renders container via ChartLegend', () => {
const { asFragment } = render(
}
/>
);
expect(asFragment()).toMatchSnapshot();
});