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 13, 2023
1 parent 61ddeba commit 13e53ac
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
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
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 13e53ac

Please sign in to comment.