@saucelabs/sauce-json-reporter
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -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]]> |
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
23839
+ Addedfast-xml-parser@4.2.5(transitive)
- Removedfast-xml-parser@4.2.4(transitive)
Updatedfast-xml-parser@4.2.5