docs: link to default config for test timeout (#6603)

This commit is contained in:
Viktor Luft 2024-10-01 16:49:31 +02:00 committed by GitHub
parent 5267d4e99b
commit 0fa0dd5bc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'