Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 667 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 667 Bytes

benderjs-chai

Chai assertions adapter for Bender.js

Installation

npm install benderjs-chai

Usage

Add benderjs-chai to the plugins array in your bender.js configuration file:

var config = {
    applications: {...}

    browsers: [...],

    plugins: ['benderjs-chai'], // load the plugin

    tests: {...}
};

module.exports = config;

From now on Chai APIs - should, assert and expect - will be available in the global namespace of a test page.

License

MIT, for license details see: LICENSE.md.