From a52d3b0f7740b5062500a12117ca20f4f4f50963 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Thu, 12 Jan 2023 13:53:05 +0100 Subject: [PATCH] test: fix test runs to 1 (#2886) --- src/test/e2e/api/admin/playground.e2e.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/e2e/api/admin/playground.e2e.test.ts b/src/test/e2e/api/admin/playground.e2e.test.ts index 38fa0a5ac8..d7d5489357 100644 --- a/src/test/e2e/api/admin/playground.e2e.test.ts +++ b/src/test/e2e/api/admin/playground.e2e.test.ts @@ -45,6 +45,7 @@ const reset = (database: ITestDb) => async () => { const toArray = (x: T): [T] => [x]; const testParams = { + numRuns: 1, // Default is 100 which is not good for E2E tests interruptAfterTimeLimit: 4000, // Default timeout in Jest 5000ms markInterruptAsFailure: false, // When set to false, timeout during initial cases will not be considered as a failure };