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