()
| 28 | }); |
| 29 | |
| 30 | async function postAbort() { |
| 31 | const ac = new AbortController(); |
| 32 | const { signal } = ac; |
| 33 | const socket = net.connect(socketOptions(signal)); |
| 34 | assert.strictEqual(listenerCount(signal, 'abort'), 1); |
| 35 | ac.abort(); |
| 36 | await assertAbort(socket, 'postAbort'); |
| 37 | } |
| 38 | |
| 39 | async function preAbort() { |
| 40 | const ac = new AbortController(); |
no test coverage detected
searching dependent graphs…