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

Function stepTitle

lib/plugin/screencast.js:260–264  ·  view source on GitHub ↗
(step)

Source from the content-addressed store, hash-verified

258}
259
260function stepTitle(step) {
261 let title = `${step.actor}.${step.title}(${step.args ? step.args.join(',') : ''})`
262 if (title.length > 100) title = `${title.substring(0, 100)}...`
263 return title
264}
265
266function buildSrt(steps) {
267 const sorted = Object.values(steps).sort((a, b) => a.startedAt - b.startedAt)

Callers 1

wireScreencastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected