Signed-off-by: Wiktor Czajkowski <wiktor.czajkowski@allegro.pl>
This commit is contained in:
Wiktor Czajkowski
2024-11-14 15:58:59 +01:00
parent e47be38e92
commit 0e97bd22a0
@@ -23,10 +23,7 @@ import { Progress } from './Progress';
describe('<Progress />', () => {
it('renders without exploding', async () => {
jest.useFakeTimers();
const { getByTestId, queryByTestId, debug } = await renderInTestApp(
<Progress />,
);
debug();
const { queryByTestId } = await renderInTestApp(<Progress />);
expect(queryByTestId('progress-placeholder')).toBeInTheDocument();
expect(queryByTestId('progress')).not.toBeInTheDocument();
act(() => {