Expects the spy to have been called the exact number of times as the argument lists provided, with those arguments, then resets the spy.
const spy = jasmine.createSpy();spy(1)spy(2, 3)spy()expectCallsAndReset(spy, [1], [2, 3], []); Copy
const spy = jasmine.createSpy();spy(1)spy(2, 3)spy()expectCallsAndReset(spy, [1], [2, 3], []);
Rest
Expects the spy to have been called the exact number of times as the argument lists provided, with those arguments, then resets the spy.