@saucelabs/sauce-json-reporter
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -21,2 +21,3 @@ export declare enum Status { | ||
suites: Suite[]; | ||
metadata: object; | ||
constructor(); | ||
@@ -36,3 +37,3 @@ attach(attachment: Attachment): void; | ||
status: Status; | ||
metadata?: object; | ||
metadata: object; | ||
suites: Suite[]; | ||
@@ -59,3 +60,3 @@ attachments: Attachment[]; | ||
attachments?: Attachment[]; | ||
metadata?: object; | ||
metadata: object; | ||
constructor(name: string, status?: Status, duration?: number, output?: string, startTime?: Date, attachments?: Attachment[], metadata?: object); | ||
@@ -62,0 +63,0 @@ attach(attachment: Attachment): void; |
@@ -38,2 +38,3 @@ "use strict"; | ||
this.suites = new Array(); | ||
this.metadata = {}; | ||
} | ||
@@ -86,3 +87,3 @@ TestRun.prototype.attach = function (attachment) { | ||
this.status = Status.Skipped; | ||
this.metadata = undefined; | ||
this.metadata = {}; | ||
this.suites = new Array(); | ||
@@ -124,2 +125,3 @@ this.attachments = new Array(); | ||
if (startTime === void 0) { startTime = new Date(); } | ||
if (metadata === void 0) { metadata = {}; } | ||
if (attachments === void 0) { attachments = new Array(); } | ||
@@ -142,2 +144,3 @@ var test = new Test(name, status, duration, output, startTime, attachments, metadata); | ||
if (attachments === void 0) { attachments = new Array(); } | ||
if (metadata === void 0) { metadata = {}; } | ||
this.name = name; | ||
@@ -144,0 +147,0 @@ this.status = status; |
{ | ||
"name": "@saucelabs/sauce-json-reporter", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"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
15967
250