@sinonjs/referee-sinon
v12.0.0
Published
Sinon.JS assertions for referee
Downloads
19,877
Keywords
Readme
referee-sinon
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