The function sinon.spy returns a Spy object, which can be called like a function, but also contains properties with information on any calls ...
確定! 回上一頁