karma-must

0.1.1 • Public • Published

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)

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i karma-must

      Weekly Downloads

      2

      Version

      0.1.1

      License

      MIT

      Last publish

      Collaborators

      • verkholantsev