()
| 5 | import { emit } from './events.test.js' |
| 6 | |
| 7 | const emitEvent = async () => { |
| 8 | const stopLogging = logProcessErrors({ |
| 9 | onError: (error) => { |
| 10 | // eslint-disable-next-line no-restricted-globals, no-console |
| 11 | console.log(error.message) |
| 12 | }, |
| 13 | exit: false, |
| 14 | }) |
| 15 | |
| 16 | try { |
| 17 | await emit(argv[2]) |
| 18 | } finally { |
| 19 | stopLogging() |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | await emitEvent() |
no test coverage detected
searching dependent graphs…