sinonjs / referee-custom-assertions

Runnable examples of using referee custom assertions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom assertions with @sinonjs/referee

This repository contains runnable examples of custom assertions for @sinonjs/referee.

The npm scripts in package.json show how to load custom assertions with

  • Mocha (npm run test:mocha)
  • Mochify (npm run test:mochify)
  • Jest (npm run test:jest)
  • Jasmine (npm run test:jasmine)
  • Tap (npm run test:tap)

The example sources can be found in ./test/assertions/. Use them as a blueprint to build your own assertions, or refer to the documentation of referee.add() to learn more.

About

Runnable examples of using referee custom assertions

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%