Skip to content

Commit

Permalink
docs: fix type api/expect.hasAssertions
Browse files Browse the repository at this point in the history
  • Loading branch information
BluesYoung-web committed May 10, 2022
1 parent a2f17b0 commit 80cea35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/index.md
Expand Up @@ -1324,7 +1324,7 @@ When you use `test` in the top level of file, they are collected as part of the

### expect.hasAssertions

- **Type:** `(count: number) => void`
- **Type:** `() => void`

After the test has passed or failed verifies that at least one assertion was called during a test. Useful case would be to check if an asynchronous code was called.

Expand Down

0 comments on commit 80cea35

Please sign in to comment.