Sinon.JS and the referee assertion library in one package.
Install:
npm install @sinonjs/referee-sinon --save-devNote 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");When installing from npm, there is a pre-built global/AMD version in the dist/ folder.
https://sinonjs.github.io/referee-sinon/
Support us with a monthly donation and help us continue our activities. [Become a backer]
Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]
referee-sinon was released under BSD-3