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