benderjs-chai

0.3.0 • Public • Published

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.

Package Sidebar

Install

npm i benderjs-chai

Weekly Downloads

9

Version

0.3.0

License

MIT

Last publish

Collaborators

  • cksource