Skip to content

Commit 012b36f

Browse files
committed
feat: added test retries
1 parent 1cc13bc commit 012b36f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

vitest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig(({ mode }) => ({
55
test: {
66
env: loadEnv(mode, process.cwd(), ''),
77
testTimeout: 500_000,
8+
retry: 2,
89
exclude: ['**/node_modules/**', 'src/test/integration/**'],
910
},
1011
}));

vitest.integration.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig(({ mode }) => ({
55
test: {
66
env: loadEnv(mode, process.cwd(), ''),
77
testTimeout: 500_000,
8+
retry: 2,
89
include: ['src/test/integration/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
910
// Run test files one at a time — prevents nonce conflicts and balance races
1011
// when multiple files share the same EOA/SCA on a live testnet

0 commit comments

Comments
 (0)