Skip to content

Commit

Permalink
test: retry certain ks test to get a flaky test through with better p…
Browse files Browse the repository at this point in the history
…robability (#2940)
  • Loading branch information
sirtawast authored Apr 19, 2024
1 parent 5879130 commit 7cb5233
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/kesaseteli/youth/src/__tests__/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import { waitFor } from 'shared/__tests__/utils/test-utils';
import { DEFAULT_LANGUAGE, Language } from 'shared/i18n/i18n';
import { difference } from 'shared/utils/array.utils';

jest.retryTimes(5);

describe('frontend/kesaseteli/youth/src/pages/index.tsx', () => {
it('should not violate accessibility', async () => {
expectToGetSchoolsFromBackend();
Expand Down

0 comments on commit 7cb5233

Please sign in to comment.