diff --git a/test/setupTests.ts b/test/setupTests.ts index a7044c0474..f5282231dc 100644 --- a/test/setupTests.ts +++ b/test/setupTests.ts @@ -37,6 +37,11 @@ beforeEach(() => { }); }); +// Retry to work around our flaky app & tests +jest.retryTimes(2, { + logErrorsBeforeRetry: true, +}); + // Very carefully enable the mocks for everything else in // a specific order. We use this order to ensure we properly // establish an application state that actually works.