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

Function stepText

lib/plugin/junitReporter.js:243–246  ·  view source on GitHub ↗
(step)

Source from the content-addressed store, hash-verified

241}
242
243function stepText(step) {
244 if (step && typeof step.toString === 'function' && step.toString !== Object.prototype.toString) return step.toString()
245 return (step && step.title) || 'step'
246}
247
248function stepDuration(step) {
249 if (!step) return 0

Callers 1

stepLogLineFunction · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected