@sinonjs/referee-sinon
Sinon.JS assertions for referee
Last updated 3 months ago by mantoni .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @sinonjs/referee-sinon 
SYNC missed versions from official npm registry.

referee-sinon

CircleCI codecov Contributor Covenant

Sinon.JS and the referee assertion library in one package.

Usage

Install:

npm install @sinonjs/referee-sinon --save-dev

Note that you don't need to install @sinonjs/referee or sinon.

const referee = require("@sinonjs/referee-sinon");

const assert = referee.assert
const refute = referee.refute
const sinon = referee.sinon

Or, if you can make use of destructuring assignments:

const { assert, refute, sinon } = require("@sinonjs/referee-sinon");

Prebuilt global/AMD version

When installing from npm, there is a pre-built global/AMD version in the dist/ folder.

Documentation

https://sinonjs.github.io/referee-sinon/

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

Licence

referee-sinon was released under BSD-3

Current Tags

  • 7.0.2                                ...           latest (3 months ago)

11 Versions

  • 7.0.2                                ...           3 months ago
  • 7.0.1                                ...           3 months ago
  • 7.0.0                                ...           3 months ago
  • 6.0.1                                ...           5 months ago
  • 6.0.0                                ...           5 months ago
  • 5.0.0                                ...           a year ago
  • 4.1.0                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 57
Last Day 0
Last Week 12
Last Month 52
Dependencies (4)
Dev Dependencies (17)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |