docs: fix missing word (#1949)

This commit is contained in:
vaakian X 2022-09-01 18:31:49 +08:00 committed by GitHub
parent b4aad6a789
commit 35bb461b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1679,7 +1679,7 @@ These functions allow you to hook into the life cycle of tests to avoid repeatin
Register a callback to be called after each one of the tests in the current context completes.
If the function returns a promise, Vitest waits until the promise resolve before continuing.
Optionally, you can a timeout (in milliseconds) for specifying how long to wait before terminating. The default is 5 seconds.
Optionally, you can provide a timeout (in milliseconds) for specifying how long to wait before terminating. The default is 5 seconds.
```ts
import { afterEach } from 'vitest'