simple-cucumber-html-reporter
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -211,4 +211,4 @@ "use strict"; | ||
if (feature.duration) { | ||
feature.totalTime += feature.duration / 1000000; | ||
feature.time = formatDuration(feature / 1000); | ||
feature.totalTime += feature.duration; | ||
feature.time = formatDuration(feature.duration * 1000); | ||
} | ||
@@ -294,4 +294,4 @@ | ||
if (scenario.duration > 0) { | ||
feature.duration += scenario.duration / 1000000; | ||
scenario.time = formatDuration(scenario.duration / 1000); | ||
feature.duration += scenario.duration / 1000; | ||
scenario.time = formatDuration(scenario.duration); | ||
} | ||
@@ -399,3 +399,3 @@ | ||
if (step.result.duration) { | ||
scenario.duration += step.result.duration / 1000000; | ||
scenario.duration += step.result.duration / 1000; | ||
step.time = formatDuration(step.result.duration / 1000); | ||
@@ -563,4 +563,4 @@ } | ||
var d, h, m, s, ms; | ||
ms = ms; | ||
s = Math.floor(ms / 1000000); | ||
ms = ms / 1000; | ||
s = Math.floor(ms / 1000); | ||
ms = ms % 1000; | ||
@@ -567,0 +567,0 @@ m = Math.floor(s / 60); |
{ | ||
"name": "simple-cucumber-html-reporter", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Generates simple cucumberjs automation reports for browsers and devices", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
94065
976