Skip to content

Commit

Permalink
Calculate total time in seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
alistairjcbrown committed Apr 17, 2018
1 parent 4c285ea commit e4131a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/junit_reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
prefix += '\n<?xml-stylesheet type="text/xsl" href="' + self.stylesheetPath + '" ?>';
}
prefix += '\n<testsuites disabled="' + results.disabled + '" errors="0" failures="' + results.failures +
'" tests="' + results.tests + '" time="' + results.time + '">';
'" tests="' + results.tests + '" time="' + results.time/1000 + '">';
return prefix;
}
var suffix = "\n</testsuites>";
Expand Down

0 comments on commit e4131a5

Please sign in to comment.