* @param {Mocha.Test} test
(test)
| 200 | * @param {Mocha.Test} test |
| 201 | */ |
| 202 | failed(test) { |
| 203 | // Only show feature name in workers mode (when outputProcess is set) |
| 204 | const featureName = outputProcess && test.parent?.title ? `${colors.yellow(test.parent.title)} › ` : '' |
| 205 | const scenarioName = colors.bold(test.title) |
| 206 | const executionTime = colors.yellow(`in ${test.duration}ms`) |
| 207 | print(` ${colors.red.bold(figures.cross)} ${featureName}${scenarioName} ${executionTime}`) |
| 208 | }, |
| 209 | /** |
| 210 | * @param {Mocha.Test} test |
| 211 | */ |