diff --git a/firestore.rules.test.ts b/firestore.rules.test.ts index e19fad87fd..f963adc749 100644 --- a/firestore.rules.test.ts +++ b/firestore.rules.test.ts @@ -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, @@ -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;