sinon. Sinon.JS. Test spies. What is a test spy? A test spy is a function that records arguments, return value, the value of this and exception thrown (if ...
確定! 回上一頁