Must.js for Karma
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
adapter.js
index.js
package.json

README.md

Must.js for Karma

NPM version

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();

Learn more.

License

The MIT License (MIT)