MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / toSeconds

Function toSeconds

lib/plugin/junitReporter.js:288–290  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

286}
287
288function toSeconds(ms) {
289 return (Math.max(0, ms) / 1000).toFixed(3)
290}
291
292function toIso(value) {
293 const date = value ? new Date(value) : new Date()

Callers 2

buildXmlFunction · 0.85
buildTestCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected