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