Skip to content

Commit

Permalink
Merge pull request Expensify#53243 from callstack-internal/zirgulis/f…
Browse files Browse the repository at this point in the history
…ix-flaky-report-test

[NoQA] Reset queue between report tests
  • Loading branch information
mountiny authored Dec 2, 2024
2 parents f837a0c + 20716e1 commit 3a8c2ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/actions/ReportTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ describe('actions/Report', () => {
setImmediate(jest.runOnlyPendingTimers);
}

// Clear the queue before each test to avoid test pollution
SequentialQueue.resetQueue();

return promise;
});

Expand Down

0 comments on commit 3a8c2ba

Please sign in to comment.