0.1.0 • Published 9 years ago

karma-sinon-chai-latest v0.1.0

Weekly downloads
54
License
MIT
Repository
github
Last release
9 years ago

karma-sinon-chai-latest

sinon-chai for Karma

NPM version Dependency status devDependency Status

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)