JS. Matchers can be passed as arguments to spy.calledOn , spy.calledWith , spy.returned and ... calledWith(spy, sinon.match.has("pages", 42)); sinon.assert.
確定! 回上一頁