mirror of
https://github.com/vitest-dev/vitest.git
synced 2026-02-01 17:36:51 +00:00
docs: fix type api/expect.hasAssertions (#1281)
This commit is contained in:
parent
1aa29583c9
commit
e6ee27fd4c
@ -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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user