-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
BDD-style interface still active when other interface selected in CLI #2207
Comments
Instead of a Thanks for pointing this out. It's not a priority though. |
I brought this up on gitter a couple days ago, but there was no response. This is really bad behavior. Especially since the documentation does a poor job of explaining the hooks. The main explanation of it portrays it that the hooks will always be the ones from the |
Thanks to @codermarcos at #2994, I've also discovered that if |
Can be closed, was fixed with release v6 and the implementation of |
When Mocha is run from the CLI and another interface is selected, BDD-style tests are still run. For instance, create the following two test files and then run
mocha -u exports
to see two tests run instead of only one.test/bdd.js
test/exports.js
The text was updated successfully, but these errors were encountered: