Skip to content

Conversation

@not-an-aardvark
Copy link
Contributor

fixes #2417

The issue was that instead calling itself with child suites, the function for filtering a .only suite was calling itself with the same suite. This resulted in infinite recursion.

@boneskull
Copy link
Member

awesome, thanks again @not-an-aardvark

@boneskull boneskull merged commit 2f21eb0 into mochajs:master Aug 8, 2016
@not-an-aardvark not-an-aardvark deleted the 2417-only-within-only branch July 6, 2017 09:13
sgilroy pushed a commit to TwineHealth/mocha that referenced this pull request Feb 27, 2019
…-only

fix .only suites nested within each other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

infinite loop with nested .only()

2 participants