Skip to content

Commit

Permalink
docs: fix type api/expect.hasAssertions (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
BluesYoung-web committed May 10, 2022
1 parent 1aa2958 commit e6ee27f
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 e6ee27f

Please sign in to comment.