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`