Learn how and when to use the restore, reset, resetHistory and resetBehaviour functions in sinon.The restore functions in sinon only work on spies and stubs ...
確定! 回上一頁