0.3.0 • Published 10 years ago
benderjs-chai v0.3.0
benderjs-chai
Chai assertions adapter for Bender.js
Installation
npm install benderjs-chaiUsage
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.