-
-
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
infinite loop with nested .only() #2417
Comments
Can reproduce. The issue is that the suite is attempting to filter its own |
not-an-aardvark
added a commit
to not-an-aardvark/mocha
that referenced
this issue
Aug 5, 2016
This was referenced Sep 23, 2018
1 task
1 task
This was referenced Dec 23, 2018
sgilroy
pushed a commit
to TwineHealth/mocha
that referenced
this issue
Feb 27, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run the following test through mocha 3.0.1:
Mocha exits with an exception that seems to indicate an infinite loop occurred:
This is a simplified example. In practice, I sometimes focus on getting a single
it.only()
test passing, and then go "up a level" and test a group of related tests via adescribe.only()
block.Not a blocker. Workaround: don't use nested
.only()
The text was updated successfully, but these errors were encountered: