1.0.0 • Published 9 years ago

karma-should-sinon v1.0.0

Weekly downloads
230
License
-
Repository
github
Last release
9 years ago

karma-should-sinon

Sinon.js assertions for Should.js on karma

Installation

Install the module via npm

$ npm install karma-should-sinon --save-dev

Add sinon to the frameworks key in your Karma configuration before should.

module.exports = function(config) {
  'use strict';
  config.set({
    #...
    frameworks: ['mocha', 'should-sinon', 'should', 'sinon'],
    #...
  });
}

See Should.js documentation.