should-as-global

Just requires 'should' and assigns it to a global var 'assert'

npm install should-as-global
1 downloads in the last week
4 downloads in the last month

should-as-global

It just requires should and assigns it to a global var assert. So we can pass --require should-as-global to mocha and have assert.exist() and friends automatically available. Note, that you still should specify should as a dev dependency.

Installation

Via npm

npm install should-as-global

License

MIT

npm loves you