mirror of
https://github.com/vitest-dev/vitest.git
synced 2026-02-01 17:36:51 +00:00
docs: link to default config for test timeout (#6603)
This commit is contained in:
parent
5267d4e99b
commit
0fa0dd5bc4
@ -26,7 +26,7 @@ You can also use the `-t, --testNamePattern <pattern>` option to filter tests by
|
||||
|
||||
## Specifying a Timeout
|
||||
|
||||
You can optionally pass a timeout in milliseconds as third argument to tests. The default is 5 seconds.
|
||||
You can optionally pass a timeout in milliseconds as a third argument to tests. The default is [5 seconds](/config/#testtimeout).
|
||||
|
||||
```ts
|
||||
import { test } from 'vitest'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user