@nightwatch/browserstack
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "@nightwatch/browserstack", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Nightwatch plugin for integration with browserstack.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -246,3 +246,3 @@ const os = require('os'); | ||
location: path.relative(process.cwd(), testFileReport.modulePath), | ||
vc_filepath: this._gitMetadata ? path.relative(this._gitMetadata.root, testFileReport.modulePath) : null, | ||
vc_filepath: (this._gitMetadata && this._gitMetadata.root) ? path.relative(this._gitMetadata.root, testFileReport.modulePath) : null, | ||
started_at: new Date(testFileReport.endTimestamp).toISOString(), | ||
@@ -319,3 +319,3 @@ finished_at: new Date(testFileReport.endTimestamp).toISOString(), | ||
location: path.relative(process.cwd(), testFileReport.modulePath), | ||
vc_filepath: this._gitMetadata ? path.relative(this._gitMetadata.root, testFileReport.modulePath) : null, | ||
vc_filepath: (this._gitMetadata && this._gitMetadata.root) ? path.relative(this._gitMetadata.root, testFileReport.modulePath) : null, | ||
started_at: new Date(eventData.startTimestamp).toISOString(), | ||
@@ -328,3 +328,3 @@ result: 'pending', | ||
if (eventType === 'HookRunFinished' || eventType === 'TestRunFinished') { | ||
testData.finished_at = new Date(eventData.endTimestamp).toISOString(); | ||
testData.finished_at = eventData.endTimestamp ? new Date(eventData.endTimestamp).toISOString() : new Date(eventData.startTimestamp).toISOString(); | ||
testData.result = eventData.status === 'pass' ? 'passed' : 'failed'; | ||
@@ -331,0 +331,0 @@ testData.duration_in_ms = 'timeMs' in eventData ? eventData.timeMs : eventData.time; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
48245
0