(text)
| 82 | } |
| 83 | |
| 84 | error (text) { |
| 85 | if ( ! this.#softFail ) { |
| 86 | failedTests.add(this.#title) |
| 87 | } |
| 88 | process.exitCode = 1 |
| 89 | this.#didFail = true |
| 90 | this.#addStep(L_ERR, text) |
| 91 | } |
| 92 | |
| 93 | #getDisplayLine(step, color = true) { |
| 94 | const spacer = step.preFmt ? '' : !color ? '- ' : c.gray(' -- ') |
no test coverage detected