You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.
When using mocha via the command line you can specify files with -rwhich will cause them to be required before your tests are. This is useful for doing setup, but it seems there is no way to do that with simplemocha.
How do you feel about a setup option that receives the Mocha instance and can execute arbitrary operations before mocha is actually run?
The text was updated successfully, but these errors were encountered:
spalger
changed the title
Expose a way to emulate mocha's -r option
Expose a way to emulate -r option
Jan 12, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using mocha via the command line you can specify files with
-r
which will cause them to be required before your tests are. This is useful for doing setup, but it seems there is no way to do that with simplemocha.How do you feel about a
setup
option that receives theMocha
instance and can execute arbitrary operations before mocha is actually run?The text was updated successfully, but these errors were encountered: