js functions are intended to play either role. Oddly enough, Sinon.js's stubs support the same assertion API as spies, so it's more a matter of ...
確定! 回上一頁