Skip to content

Commit

Permalink
Retry firestore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham committed Sep 2, 2024
1 parent d197b72 commit c73adfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firestore.rules.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RulesTestContext } from '@firebase/rules-unit-testing';
import { afterEach, beforeEach, describe, it } from '@jest/globals';
import { afterEach, beforeEach, describe, it, jest } from '@jest/globals';
import {
addDoc,
collection,
Expand All @@ -14,6 +14,8 @@ import {
import { setupApp, teardownApp } from './__tests__/firestore.setup';
import { expect } from './__tests__/helpers';

jest.retryTimes(3, { logErrorsBeforeRetry: true });

describe('firestore', () => {
let testEnv: RulesTestContext;

Expand Down

0 comments on commit c73adfa

Please sign in to comment.