import { cleanup, render } from '@testing-library/react' import Button from 'components/Button' import { buttonColorClasses, buttonSizeClasses, buttonVariantClasses, focusClasses, } from 'components/Button/constants' import { parseMockComponentProps } from 'utils/testing' jest.mock('components/CircularProgress', () => { return { CircularProgress: (props: any) => require('utils/testing').createMockComponent('circular-progress-component', props), } }) describe(') expect(getByTestId('test-id')).toBeInTheDocument() }) it('should handle `className` prop correctly', () => { const testClass = 'test-class' const { container } = render(