()
| 64 | } |
| 65 | |
| 66 | async function testConstructorPost() { |
| 67 | const ac = new AbortController(); |
| 68 | const { signal } = ac; |
| 69 | const socket = new net.Socket(socketOptions(signal)); |
| 70 | assert.strictEqual(listenerCount(signal, 'abort'), 1); |
| 71 | ac.abort(); |
| 72 | await assertAbort(socket, 'testConstructorPost'); |
| 73 | } |
| 74 | |
| 75 | async function testConstructorPostTick() { |
| 76 | const ac = new AbortController(); |
no test coverage detected
searching dependent graphs…