Skip to content

Commit 67182b4

Browse files
committed
Configure Mocha to retry failed tests
1 parent 0b57892 commit 67182b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/testRunner.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ function setupLogging() {
3333
export async function run(testsRoot: string, options?: Mocha.MochaOptions) {
3434
options ??= {
3535
ui: 'tdd',
36-
useColors: true
36+
useColors: true,
37+
retries: 2
3738
};
3839

3940
const mocha = new Mocha(options);

0 commit comments

Comments
 (0)