* Stops capturing the writes to process.stdout.
()
| 49 | * Stops capturing the writes to process.stdout. |
| 50 | */ |
| 51 | stopCapture() { |
| 52 | if (this._orig_stdout_write) { |
| 53 | process.stdout.write = this._orig_stdout_write |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Private method that is used as the replacement write function for process.stdout |