The sinon.spy() function will return an object with several properties available on ... an error in that callback, as follows: save.restore(); sinon.assert.
確定! 回上一頁