()
| 336 | } |
| 337 | |
| 338 | skipRefactor() { |
| 339 | if (this.disabled) return { ok: true, phase: 'idle', message: 'TDD gating disabled.' }; |
| 340 | if (this._phase !== PHASES.GREEN) { |
| 341 | return { ok: false, phase: this._phase, message: `skipRefactor called but phase is "${this._phase}", expected "green".` }; |
| 342 | } |
| 343 | return this._finishCycle('green', null); |
| 344 | } |
| 345 | |
| 346 | reset() { |
| 347 | this._phase = PHASES.IDLE; |
no test coverage detected