* @param {Mocha.Test} test
(test)
| 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 | */ |