Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 691 Bytes

File metadata and controls

34 lines (21 loc) · 691 Bytes

benderjs-sinon

Sinon.js adapter for Bender.js

Installation

npm install benderjs-sinon

Usage

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.

License

MIT, for license details see: LICENSE.md.