Skip to content

Commit

Permalink
fix: increase default teardownTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jan 18, 2023
1 parent 9a23ef2 commit ba6ca81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ Default timeout of a hook in milliseconds
### teardownTimeout

- **Type:** `number`
- **Default:** `1000`
- **Default:** `10000`

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

Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const config = {
exclude: defaultExclude,
testTimeout: 5000,
hookTimeout: 10000,
teardownTimeout: 1000,
teardownTimeout: 10000,
isolate: true,
watchExclude: ['**/node_modules/**', '**/dist/**'],
forceRerunTriggers: [
Expand Down

0 comments on commit ba6ca81

Please sign in to comment.