Common Mocha setup for @sinonjs/referee-sinon
npm install mocha-referee-sinon[![Build Status]](https://travis-ci.org/mantoni/mocha-referee-sinon)
[![SemVer]](http://semver.org)
[![License]](https://github.com/mantoni/mocha-referee-sinon/blob/master/LICENSE)
Common initialization file for [Mocha][] when used with
[@sinonjs/referee-sinon][].
- Asserts that each test has at least one assertion.
- Calls sinon.restore() after each test.
Install in devDependencies:
``bash`
$ npm install -D mocha-referee-sinon
`bash`
$ mocha --file ./node_modules/mocha-referee-sinon
- 1.0.0: Mocha 5.2, @sinonjs/referee-sinon` 5.0
MIT
[Build Status]: https://img.shields.io/travis/mantoni/mocha-referee-sinon/master.svg
[SemVer]: https://img.shields.io/:semver-%E2%9C%93-brightgreen.svg
[License]: https://img.shields.io/npm/l/mocha-referee-sinon.svg
[Mocha]: https://mochajs.org
[@sinonjs/referee-sinon]: https://sinonjs.github.io/referee-sinon/