-
-
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
Mocha only runs one test #3159
Comments
I don't understand which test file(s) aren't executed which are supposed to be. from that first screenshot, it looks like they all might be... but I can't really tell you more without more info about the repo. you could try removing |
could it be an |
Same here. Issue is in Looks like |
Found. This problem explained here: #3136 |
@wertlex I have quotes .. |
@javahaxxor Can you show your example which has the problem like @wertlex |
@javahaxxor grep for |
Prerequisites
common mistake
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
Mocha doesn't run all tests, just one
Steps to Reproduce
See the attached screenshots. Neither mocha test/**/*.spec.js nor mocha --recursive work for me
Expected behavior: [What you expect to happen]
all tests in the directory should be executed
Actual behavior: [What actually happens]
Only one test is ran
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
mocha version 4.0.1
I'm getting this error on both OSX and Linux, regardless of globstar settings
Additional Information
I'm wondering if there is a bug. I'm getting this error on both OSX and Linux:
The text was updated successfully, but these errors were encountered: