benderjs-sinon

v0.3.1
Sinon.js adapter for Bender.js
sinon bender benderjs adapter

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.

npm i benderjs-sinon

Metadata

  • MIT
  • >=4.0.0
  • CKSource
  • released 10/14/2015

Downloads

Maintainers