(opts)
| 39 | |
| 40 | // Start logging and stub `process.exit()` |
| 41 | export const startExitLogging = (opts) => { |
| 42 | stub(process, 'exit') |
| 43 | const { stopLogging } = startLogging(opts) |
| 44 | return stopExitLogging.bind(undefined, stopLogging) |
| 45 | } |
| 46 | |
| 47 | const stopExitLogging = (stopLogging) => { |
| 48 | stopLogging() |
no test coverage detected
searching dependent graphs…