Skip to content

Commit 13e53ac

Browse files
committedJan 13, 2023
fix: increase default teardownTimeout
1 parent 61ddeba commit 13e53ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎docs/config/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ Default timeout of a hook in milliseconds
473473
### teardownTimeout
474474

475475
- **Type:** `number`
476-
- **Default:** `1000`
476+
- **Default:** `10000`
477477

478478
Default timeout to wait for close when Vitest shuts down, in milliseconds
479479

‎packages/vitest/src/defaults.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const config = {
6767
exclude: defaultExclude,
6868
testTimeout: 5000,
6969
hookTimeout: 10000,
70-
teardownTimeout: 1000,
70+
teardownTimeout: 10000,
7171
isolate: true,
7272
watchExclude: ['**/node_modules/**', '**/dist/**'],
7373
forceRerunTriggers: [

0 commit comments

Comments
 (0)
Please sign in to comment.