Oct 09, 2018 In such cases, you can use Sinon to stub a function. ... Sinon.js can be used alongside other testing frameworks to stub functions.
確定! 回上一頁