@saucelabs/sauce-json-reporter
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -63,3 +63,4 @@ declare type HasKeyOf<T> = { | ||
code?: TestCode; | ||
constructor(name: string, status?: Status, duration?: number, output?: string, startTime?: Date, attachments?: Attachment[], metadata?: object, code?: TestCode); | ||
videoTimestamp?: number; | ||
constructor(name: string, status?: Status, duration?: number, output?: string, startTime?: Date, attachments?: Attachment[], metadata?: object, code?: TestCode, videoTimestamp?: number); | ||
attach(attachment: Attachment): void; | ||
@@ -66,0 +67,0 @@ } |
@@ -121,3 +121,3 @@ "use strict"; | ||
if (options === void 0) { options = {}; } | ||
var test = new Test(name, options.status, options.duration, options.output, options.startTime, options.attachments, options.metadata, options.code); | ||
var test = new Test(name, options.status, options.duration, options.output, options.startTime, options.attachments, options.metadata, options.code, options.videoTimestamp); | ||
this.addTest(test); | ||
@@ -133,3 +133,3 @@ return test; | ||
var Test = /** @class */ (function () { | ||
function Test(name, status, duration, output, startTime, attachments, metadata, code) { | ||
function Test(name, status, duration, output, startTime, attachments, metadata, code, videoTimestamp) { | ||
if (status === void 0) { status = Status.Skipped; } | ||
@@ -148,2 +148,3 @@ if (duration === void 0) { duration = 0; } | ||
this.code = code; | ||
this.videoTimestamp = videoTimestamp; | ||
} | ||
@@ -150,0 +151,0 @@ Test.prototype.attach = function (attachment) { |
{ | ||
"name": "@saucelabs/sauce-json-reporter", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"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
16507
271