Then you ensure that the expected method was called with sinon.assert . The original method is then restored . In this test, restoring it isn't strictly ...
確定! 回上一頁