@saucelabs/sauce-json-reporter
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -54,4 +54,7 @@ "use strict"; | ||
TestRun.prototype.withSuite = function (name) { | ||
var suite = new Suite(name); | ||
this.addSuite(suite); | ||
var suite = this.suites.find(function (suite) { return suite.name === name; }); | ||
if (!suite) { | ||
suite = new Suite(name); | ||
this.addSuite(suite); | ||
} | ||
return suite; | ||
@@ -109,4 +112,7 @@ }; | ||
Suite.prototype.withSuite = function (name) { | ||
var suite = new Suite(name); | ||
this.addSuite(suite); | ||
var suite = this.suites.find(function (suite) { return suite.name === name; }); | ||
if (!suite) { | ||
suite = new Suite(name); | ||
this.addSuite(suite); | ||
} | ||
return suite; | ||
@@ -113,0 +119,0 @@ }; |
{ | ||
"name": "@saucelabs/sauce-json-reporter", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
15740
246