method
test.MatchersBuiltin.toHaveResolved
Ensures that a promise returned by a mock function has resolved at least once.
A return value that isn't a promise counts as resolved. A thrown error counts as rejected.
method
Ensures that a promise returned by a mock function has resolved at least once.
A return value that isn't a promise counts as resolved. A thrown error counts as rejected.