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