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

Function passed

lib/output.js:192–198  ·  view source on GitHub ↗

* @param {Mocha.Test} test

(test)

Source from the content-addressed store, hash-verified

190 * @param {Mocha.Test} test
191 */
192 passed(test) {
193 // Only show feature name in workers mode (when outputProcess is set)
194 const featureName = outputProcess && test.parent?.title ? `${colors.cyan(test.parent.title)} › ` : ''
195 const scenarioName = colors.bold(test.title)
196 const executionTime = colors.cyan(`in ${test.duration}ms`)
197 print(` ${colors.green.bold(figures.tick)} ${featureName}${scenarioName} ${executionTime}`)
198 },
199 /**
200 * @param {Mocha.Test} test
201 */

Callers

nothing calls this directly

Calls 1

printFunction · 0.70

Tested by

no test coverage detected