Skip to content
Sinon.JS and the referee assertion library in one package
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circle
.circleci
.github
docs
lib
.editorconfig
.eslintignore
.eslintrc.yaml
.gitignore
.min-wd
AUTHORS
LICENSE
README.md
mkdocs.yml
package-lock.json
package.json
rollup.config.js

README.md

referee-sinon

CircleCI codecov

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

You can’t perform that action at this time.