Skip to content

shouldjs/sinon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();
});

About

Sinon.js assertions for should.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •