Chai assertions adapter for Bender.js
npm install benderjs-chai
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.
MIT, for license details see: LICENSE.md.