()
| 142 | } |
| 143 | |
| 144 | async function onceWithInvalidEventEmmiter() { |
| 145 | const ac = new AbortController(); |
| 146 | return assert.rejects(once(ac, 'myevent'), { |
| 147 | code: 'ERR_INVALID_ARG_TYPE', |
| 148 | }); |
| 149 | } |
| 150 | |
| 151 | async function prioritizesEventEmitter() { |
| 152 | const ee = new EventEmitter(); |
no test coverage detected