should-sinon
Sinon.js assertions for should.js
Last updated 3 years ago by btd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (3 years ago)

6 Versions

  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |