Sinon.js adapter for Bender.js
npm install benderjs-sinon
Add benderjs-sinon
to the plugins
array in your bender.js
configuration file:
var config = {
applications: {...}
browsers: [...],
plugins: ['benderjs-sinon'], // load the plugin
tests: {...}
};
module.exports = config;
From now on Sinon.js API will be available in the global namespace of a test page. For more details please check Sinon.js' documentation.
MIT, for license details see: LICENSE.md.