method
test.MatchersBuiltin.toHaveReturnedTimes
times: number
): R;
Ensures that a mock function has returned successfully times times.
An unfulfilled promise counts as a failure, as does a thrown error.
method
Ensures that a mock function has returned successfully times times.
An unfulfilled promise counts as a failure, as does a thrown error.