Just requires should and makes it a global
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

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