Skip to content

benderjs/benderjs-sinon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.