-
-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mocha hook to auto register should #693
Comments
@wotsyula thanks for posting! The good news is that starting with the next version The way I approach this situation currently is to create a test bootstrap file that performs the preparatory tasks, and then require that via |
@meeber Thanks for the quick reply. Good to hear. I'm gonna close this now. Before I do, I think |
@wotsyula you could also make an npm module called |
Hey guys. I've added a pull request for |
Would be nice if there was a hook script to allow me to automatically load
chai.should()
. Something like:And have them automatically added for testing without the need to use
require("chai").should()
andchai.use(...)
I'd do it myself but it needs a
register-should.js
file stored in the chainode_modules
directory.The text was updated successfully, but these errors were encountered: