@sinonjs/referee-sinon
Sinon.JS assertions for referee
Last updated 10 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

Build status Coverage Status

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

  • 5.0.0                                ...           latest (10 months ago)

6 Versions

  • 5.0.0                                ...           10 months ago
  • 4.1.0                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 10
Dependencies (4)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |