-
Notifications
You must be signed in to change notification settings - Fork 45
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
root-level hooks are not being called #39
Comments
Thanks for posting issue. Will take a look at it soon. |
Seems interesting: if you move your base.js code into sampe.js, everything works fine. |
|
Hi, |
Mocha's root level hooks, ie having before/beforeEach in a different file outside of the describe are not getting called.
tests/sample.js
tests/base.js
When executing through mocha the before function from base is called
but executing the same through mocha-parallel it seems to ignore the file.
2 passing (27ms)
The text was updated successfully, but these errors were encountered: