不同于 sinon.spy 和 sinon.stub 方法, sinon.fake API 只知道如何创建fake,并不关心自己是如何插入到被测试的系统中的。为了将fake插入到测试系统 ...
確定! 回上一頁