I catch (e) {I sinon.assert.threw(obj.error, Error"); // Have to restore after tests finish. obj.multiply.restore(); obj.error.restore(); I); Playing in the ...
確定! 回上一頁