Docs
Reference
Guides
Blog
Discord
/
bun:test
/
Matchers
/
toHaveBeenCalledTimes
M
toHaveBeenCalledTimes
Search the reference...
/
Docs
Reference
Guides
Blog
Discord
Search
K
/
bun:test
/
Matchers
/
toHaveBeenCalledTimes
M
toHaveBeenCalledTimes
method
test.Matchers.toHaveBeenCalledTimes
toHaveBeenCalledTimes
(
expected
:
number
)
:
void
;
Ensures that a mock function is called an exact number of times.