-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove incorrect function and its call.
The string tested in the function isTopLevelSuite() is not used in jasmine. The correct string would be Jasmine__TopLevel__Suite (two underscores). So the function always returns false, and we negate it at the call site, to the child is always added. That's the correct behavior because we already have a root node matching the Jasmine top level suite. The test and the function is unnecessary.
- Loading branch information
1 parent
4c3221a
commit ad4fe69
Showing
2 changed files
with
1 addition
and
28 deletions.
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