Skip to content

Commit 501d011

Browse files
authored
Increase hook timeout for integration tests (#8650)
1 parent 9cb6741 commit 501d011

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

vite.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ export default defineConfig(({ command, mode }) => {
5353
mockReset: true,
5454
reporters: process.env.GITHUB_ACTIONS
5555
? ['dot', 'github-actions']
56-
: // Gotcha: 'hanging-process' is very noisey, turn off by default on localhost
56+
: // Gotcha: 'hanging-process' is very noisy, turn off by default on localhost
5757
// : ['verbose', 'hanging-process'],
5858
['verbose'],
59-
testTimeout: 2000,
60-
hookTimeout: 1000,
61-
teardownTimeout: 1000,
59+
testTimeout: 2_000,
60+
hookTimeout: 1_000,
61+
teardownTimeout: 1_000,
6262
retry: 5,
6363
},
6464
build: {

vitest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default defineConfig({
3737
test: {
3838
name: 'integration',
3939
include: ['src/**/*.spec.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
40+
hookTimeout: 30_000,
4041
},
4142
},
4243
],

0 commit comments

Comments
 (0)