karma-sinon-chai-latest

0.1.0 • Public • Published

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)

Package Sidebar

Install

npm i karma-sinon-chai-latest

Weekly Downloads

6

Version

0.1.0

License

MIT

Last publish

Collaborators

  • directxman12