Set up Mocha, Chai, and Bluebird for testing. Requiring this file:
- Makes
chai
available globally - Makes
sinon
available globally. - Applies chai-as-promised
- Applies sinon-as-promised
- Logs long stack traces for Bluebird promises
- Throws onPossiblyUnhandledRejection as errors, causing tests to fail
Just require to set up:
require('test-setup');