(signal)
| 17 | const port = server.address().port; |
| 18 | const host = 'localhost'; |
| 19 | const connectOptions = (signal) => ({ |
| 20 | port, |
| 21 | host, |
| 22 | signal, |
| 23 | rejectUnauthorized: false, |
| 24 | }); |
| 25 | |
| 26 | function assertAbort(socket, testName) { |
| 27 | return assert.rejects(() => once(socket, 'close'), { |
no outgoing calls
no test coverage detected
searching dependent graphs…