From 0f6ee0614e687643a75ce94c7d497bbdde7b407c Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Thu, 11 Jan 2024 17:54:22 +0900 Subject: [PATCH] Set retries: undefined for local dev (#1803) * Set retries: undefined for local dev * Set retries: 2 to the web test config --- src/test/suite/index.ts | 2 +- src/web/test/suite/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/suite/index.ts b/src/test/suite/index.ts index e69e315aaa..1dd194c413 100644 --- a/src/test/suite/index.ts +++ b/src/test/suite/index.ts @@ -11,7 +11,7 @@ export function run(): Promise { forbidOnly: isCI, color: true, timeout: 10000, - retries: 2, + retries: isCI ? 2 : undefined, }); const testsRoot = path.resolve(__dirname, ".."); diff --git a/src/web/test/suite/index.ts b/src/web/test/suite/index.ts index 14d86d41ec..0d3d13ce5f 100644 --- a/src/web/test/suite/index.ts +++ b/src/web/test/suite/index.ts @@ -7,6 +7,7 @@ export function run(): Promise { ui: "tdd", reporter: undefined, timeout: 10000, + retries: 2, }); // bundles all files in the current directory matching `*.test`