should-sinon

Sinon.js assertions for should.js

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
should-sinon
1290.0.67 years ago9 years agoMinified + gzip package size for should-sinon in KB

Readme

should-sinon
Sinon.js bindings for should.js.

Install

$ npm install should-sinon --save-dev

Example

var sinon = require('sinon');
var should = require('should');
require('should-sinon');

it('should get number of calls', function() {
  var callback = sinon.spy();
  callback();
  callback.should.be.calledOnce();
});