()
| 55 | } |
| 56 | |
| 57 | async function testConstructor() { |
| 58 | const ac = new AbortController(); |
| 59 | const { signal } = ac; |
| 60 | ac.abort(); |
| 61 | const socket = new net.Socket(socketOptions(signal)); |
| 62 | assert.strictEqual(listenerCount(signal, 'abort'), 0); |
| 63 | await assertAbort(socket, 'testConstructor'); |
| 64 | } |
| 65 | |
| 66 | async function testConstructorPost() { |
| 67 | const ac = new AbortController(); |
no test coverage detected
searching dependent graphs…