expect(setRepeat).to.have.been.calledWith({ from: 1, to: 3, times: 9 });