(entry)
| 235 | } |
| 236 | |
| 237 | function stepLogLine(entry) { |
| 238 | const indent = ' '.repeat(entry.depth) |
| 239 | const mark = entry.step && entry.step.status === 'failed' ? '[FAILED] ' : '' |
| 240 | return `${indent}${mark}${stepText(entry.step)} (${stepDuration(entry.step)}ms)` |
| 241 | } |
| 242 | |
| 243 | function stepText(step) { |
| 244 | if (step && typeof step.toString === 'function' && step.toString !== Object.prototype.toString) return step.toString() |
nothing calls this directly
no test coverage detected