forked from karma-runner/karma-mocha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use the root property to determine suite root.
The root property is problematic because Mocha sets it true if the description of a suite is the empty string. However, Mocha runs perfectly well with suites that have empty names. See: mochajs/mocha#2755 Instead of relying on the root property, rely on whether the parent property is set. If not, then we are at the root.
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters