benderjs-chai

Chai assertions adapter for Bender.js

Usage no npm install needed!

<script type="module">
  import benderjsChai from 'https://cdn.skypack.dev/benderjs-chai';
</script>

README

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.