karma-jasmine
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -84,2 +84,10 @@ (function(window) { | ||
/** | ||
* @param suite | ||
* @returns {boolean} Return true if it is system jasmine top level suite | ||
*/ | ||
var isTopLevelSuite = function (suite) { | ||
return suite.description === 'Jasmine_TopLevel_Suite'; | ||
}; | ||
var currentSuite = new SuiteNode(); | ||
@@ -115,3 +123,5 @@ | ||
this.suiteStarted = function(result) { | ||
currentSuite = currentSuite.addChild(result.description); | ||
if (!isTopLevelSuite(result)) { | ||
currentSuite = currentSuite.addChild(result.description); | ||
} | ||
}; | ||
@@ -118,0 +128,0 @@ |
{ | ||
"name": "karma-jasmine", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "A Karma plugin - adapter for Jasmine testing framework.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12777
282