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: ...; moduleexports = 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.