You can use a Sinon.JS stub with the callsFake() method, passing it an existing function, to effectively "wrap" the function so that it ...
確定! 回上一頁