Skip to content

Commit cfdf83a

Browse files
committed
test: add 3x retries for e2e tests
1 parent 556ec0a commit cfdf83a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
File renamed without changes.

vitest.config.mts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineConfig({
77
{
88
test: {
99
name: 'unit',
10-
exclude: ['test/nuxt/**', ...defaultExclude],
10+
exclude: ['test/nuxt/**', 'test/e2e/**', ...defaultExclude],
1111
},
1212
},
1313
defineVitestProject({
@@ -23,6 +23,13 @@ export default defineConfig({
2323
},
2424
},
2525
}),
26+
{
27+
test: {
28+
name: 'e2e',
29+
include: ['test/e2e/**/*.test.ts'],
30+
retry: 3,
31+
},
32+
},
2633
],
2734
coverage: {
2835
exclude: [

0 commit comments

Comments
 (0)