Skip to content

Commit

Permalink
fix: add timemout
Browse files Browse the repository at this point in the history
  • Loading branch information
prwozny committed Feb 5, 2025
1 parent 0a6ad57 commit f04d410
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/App/App.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { screen, cleanup, render, act } from '@testing-library/react';
import { screen, render, act } from '@testing-library/react';
import { App } from './App';
import { mockOidcForUser, mockOidcFailed } from '../CustomHooks/useAuth';
import { describe, expect, it } from 'vitest';
Expand All @@ -12,7 +12,7 @@ describe('Component display', () => {
render(<App />);
});

expect(await screen.findByText(D.surveyList));
expect(await screen.findByText(D.surveyList, {}, { timeout: 20000 }));
});

it('Component is not displayed ', async () => {
Expand Down

0 comments on commit f04d410

Please sign in to comment.