🐛 Bug: --delay and grep not working reliably #3007
Labels
semver-major
implementation requires increase of "major" version number; "breaking changes"
status: accepting prs
Mocha can use your help with this one!
type: bug
a defect, confirmed by a maintainer
Prerequisites
common mistake
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
I am running mocha with --delay and calling run(). Grep works unreliable with my tests unless I specify the exact file.
Steps to Reproduce
I created a gist to replicate: https://gist.github.com/plasticrake/71e6a69de1c9bf8d8234ab597cde6a77
grep1 works
grep3 works
grep2 does not work
However grep2 works if I specify the file:
Expected behavior: grep to work consistantly
Actual behavior: grep fail to match SOME tests, but not all
Reproduces how often: always for certain files
Versions
mocha 3.5.3
node v8.5.0
Additional Information
The text was updated successfully, but these errors were encountered: