Skip to content

About

Runnable examples of using referee custom assertions

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

68 Commits

Folders and files

Repository files navigation

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

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages