Chai + Sinon-Chai + Sinon for Karma

npm install karma-chai-sinon
76 downloads in the last day
636 downloads in the last week
1 488 downloads in the last month


Chai + Sinon-Chai + Sinon for Karma

What makes this plugin different from karma-sinon-chai?

  • It allows you to use either the latest versions of sinon, chai and sinon-chai or the specific versions your project already uses.
  • Enforces the use of stable versions of Node and Karma.
  • It uses peerDependencies only.
  • No bower dependency.



Install the plugin from npm:

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

Install the plugin from Github:

$ npm install 'git://github.com/tubalmartin/karma-chai-sinon.git' --save-dev

Add chai-sinon to the frameworks key in your Karma configuration:

module.exports = function(config) {

    // frameworks to use
    frameworks: ['mocha', 'chai-sinon']

    // ...


The MIT License (MIT)

npm loves you