You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Retry jest tests to avoid flakes slowing down PRs (#12051)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f0dd12dbc1
commit
9d93a3f54d
@ -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
|
// Very carefully enable the mocks for everything else in
|
||||||
// a specific order. We use this order to ensure we properly
|
// a specific order. We use this order to ensure we properly
|
||||||
// establish an application state that actually works.
|
// establish an application state that actually works.
|
||||||
|
Reference in New Issue
Block a user