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