Skip to content

Commit

Permalink
docs: fix missing word (vitest-dev#1949)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaakian authored and antfu committed Sep 4, 2022
1 parent c6aed2a commit 0814cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/index.md
Expand Up @@ -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'
Expand Down

0 comments on commit 0814cbe

Please sign in to comment.