An example use case of this is testing that a callback function is invoked properly from ... var save = sinon.stub().throws(error); var spy = sinon.spy(); ...
確定! 回上一頁