should-sinon
Sinon.js assertions for should.js
Last updated 9 years ago by btd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install should-sinon 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.6                                ...           latest (9 years ago)

6 Versions

  • 0.0.6                                ...           9 years ago
  • 0.0.5                                ...           11 years ago
  • 0.0.4                                ...           11 years ago
  • 0.0.3                                ...           11 years ago
  • 0.0.2                                ...           11 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Total 12
Today 0
This Week 0
This Month 8
Last Day 0
Last Week 4
Last Month 0
Dependencies (0)
None
Dev Dependencies (6)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE