Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@saucelabs/sauce-json-reporter

Package Overview
Dependencies
Maintainers
21
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saucelabs/sauce-json-reporter - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

lib/index.js

@@ -308,3 +308,3 @@ "use strict";

toJUnitObj() {
return new JUnitTestCase(this.name, this.status, this.duration, toProperty(this.attachments || [], this.metadata),
return new JUnitTestCase(this.name, this.status, this.duration / 1000.0, toProperty(this.attachments || [], this.metadata),
// startTime should be a string in this case. Otherwise, XMLBuilder will not recognize the attribute name prefix.

@@ -311,0 +311,0 @@ this.startTime.toISOString(), this.videoTimestamp, this.output);

{
"name": "@saucelabs/sauce-json-reporter",
"version": "3.0.2",
"version": "3.0.3",
"description": "",

@@ -23,3 +23,3 @@ "main": "lib/index.js",

"dependencies": {
"fast-xml-parser": "4.2.4"
"fast-xml-parser": "4.2.5"
},

@@ -26,0 +26,0 @@ "devDependencies": {

@@ -134,3 +134,3 @@ # sauce-json-reporter-js

```
<testsuites status="failed" tests="3" failures="1" skipped="1" time="369">
<testsuites status="failed" tests="3" failures="1" skipped="1" time="0.369">
<testsuite name="somegroup" status="failed" tests="0" failures="0" skipped="0" time="0">

@@ -141,4 +141,4 @@ <properties>

</testsuite>
<testsuite name="somefile.test.js" status="failed" tests="3" failures="1" skipped="1" time="369">
<testcase name="yay" status="passed" time="123" timestamp="2023-06-20T21:32:07.467Z">
<testsuite name="somefile.test.js" status="failed" tests="3" failures="1" skipped="1" time="0.369">
<testcase name="yay" status="passed" time="0.123" timestamp="2023-06-20T21:32:07.467Z">
<properties>

@@ -149,3 +149,3 @@ <property name="attachment" value="video.mp4">./video.mp4</property>

</testcase>
<testcase name="nay" status="failed" time="123" timestamp="2023-06-20T21:32:07.467Z">
<testcase name="nay" status="failed" time="0.123" timestamp="2023-06-20T21:32:07.467Z">
<properties>

@@ -158,3 +158,3 @@ <property name="attachment" value="video.mp4">./video.mp4</property>

</testcase>
<testcase name="oops" status="skipped" time="123" timestamp="2023-06-20T21:32:07.467Z">
<testcase name="oops" status="skipped" time="0.123" timestamp="2023-06-20T21:32:07.467Z">
<skipped>

@@ -161,0 +161,0 @@ <![CDATA[test skipped]]>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc