Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeceptjs/CodeceptJS
/ sumDuration
Function
sumDuration
lib/plugin/junitReporter.js:284–286 ·
view source on GitHub ↗
(tests)
Source
from the content-addressed store, hash-verified
282
}
283
284
function
sumDuration(tests) {
285
return
tests.reduce((sum, t) => sum + (t.duration || 0), 0)
286
}
287
288
function
toSeconds(ms) {
289
return
(Math.max(0, ms) / 1000).toFixed(3)
Callers
1
buildXml
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected