Skip to content

verkholantsev/karma-must

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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)

About

Must.js for Karma

Resources

Stars

Watchers

Forks

Packages

No packages published