(opts)
| 2 | import { spy } from 'sinon' |
| 3 | |
| 4 | export const startLogging = (opts) => { |
| 5 | const onError = spy() |
| 6 | const stopLogging = logProcessErrors({ onError, exit: false, ...opts }) |
| 7 | return { onError, stopLogging } |
| 8 | } |
no test coverage detected
searching dependent graphs…