Skip to content

Commit

Permalink
fix: increase jest timeout for performance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adhorodyski committed Oct 11, 2023
1 parent 1157133 commit 846f795
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/perf-test/SidebarLinks.perf-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ import waitForBatchedUpdates from '../utils/waitForBatchedUpdates';
import wrapOnyxWithWaitForBatchedUpdates from '../utils/wrapOnyxWithWaitForBatchedUpdates';
import variables from '../../src/styles/variables';

jest.setTimeout(10000);
/**
* Performance tests with Reassure can require big timeouts as all runs
* for a test have to be executed within this limit. (default runs=10)
* This also includes manual garbage collection between them.
*/
jest.setTimeout(60000);

jest.mock('../../src/libs/Permissions');
jest.mock('../../src/libs/Navigation/Navigation');
Expand Down

0 comments on commit 846f795

Please sign in to comment.