Skip to content

Commit 781707a

Browse files
committed
chore: more timeout for tests
1 parent e9d1e3e commit 781707a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

vitest.config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ export default defineConfig({
77
setupFiles: ['dotenv/config', 'disposablestack/auto'],
88
maxConcurrency: 1, // Disable concurrency to avoid nonce errors
99
fileParallelism: false,
10-
hookTimeout: 120000, // 120 seconds for setup hooks (Docker containers)
10+
pool: 'forks',
11+
poolOptions: {
12+
forks: {
13+
singleFork: true,
14+
},
15+
},
16+
hookTimeout: 300000, // 300 seconds for setup hooks (Docker containers in CI)
1117
},
1218
ssr: {
1319
noExternal: ['@trufnetwork/kwil-js'],

0 commit comments

Comments
 (0)