method
test.Matchers.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.
method
Ensures that a mock function has returned successfully times times.
An unfulfilled promise counts as a failure, as does a thrown error.