karma-sinon-chai-latest
v0.1.0
Published
The latest sinon-chai from NPM for Karma
Downloads
38
Maintainers
Readme
karma-sinon-chai-latest
sinon-chai for Karma
Based off of the karma-chai package.
Installation
Install the plugin from npm:
$ npm install karma-sinon-chai-latest --save-dev
Or from Github:
$ npm install 'git+https://github.com/directxman12/karma-sinon-chai-latest.git' --save-dev
Add sinon-chai
to the frameworks
key in your Karma configuration:
module.exports = function (config) {
config.set({
frameworks: ['mocha', 'chai', 'sinon-chai']
# ...
});
});
Usage
All of the various sinon-chai assertions are available as normal.
License
The MIT License (MIT)