calledOnce).to.be.true; // verify that mock works as expected mock.verify(); ... Javascript answers related to “sinon spy with mocha”.
確定! 回上一頁