Set up Mocha, Chai, and Bluebird for testing. Requiring this file:
- Makes chaiavailable globally
- Makes sinonavailable 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');