Skip to content

Commit 94b8c8b

Browse files
authored
feat: add test retries to examples (#956)
1 parent 469a09b commit 94b8c8b

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

examples/advanced-project-js/checkly.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ const config = defineConfig({
4949
runLocation: 'eu-west-1',
5050
/* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */
5151
reporters: ['list'],
52+
/* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */
53+
retries: 0,
5254
},
5355
});
5456

examples/advanced-project/checkly.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ const config = defineConfig({
5151
runLocation: 'eu-west-1',
5252
/* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */
5353
reporters: ['list'],
54+
/* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */
55+
retries: 0,
5456
},
5557
})
5658

examples/boilerplate-project-js/checkly.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const config = defineConfig({
4040
runLocation: 'eu-west-1',
4141
/* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */
4242
reporters: ['list'],
43+
/* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */
44+
retries: 0,
4345
},
4446
})
4547

examples/boilerplate-project/checkly.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const config = defineConfig({
4040
runLocation: 'eu-west-1',
4141
/* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */
4242
reporters: ['list'],
43+
/* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */
44+
retries: 0,
4345
},
4446
})
4547

0 commit comments

Comments
 (0)