Must.js for Karma
Installation
npm install karma-must --save-dev
Add must
to frameworks
in your karma.conf.js
.
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha', 'must'],
// ...
Usage
Must.js asserts are available thru Object.prototype
[].must.be.empty();
And with expect
wrapper
expect([]).be.empty();
License
The MIT License (MIT)