(socket, testName)
| 24 | }); |
| 25 | |
| 26 | function assertAbort(socket, testName) { |
| 27 | return assert.rejects(() => once(socket, 'close'), { |
| 28 | name: 'AbortError', |
| 29 | }, `close ${testName} should have thrown`); |
| 30 | } |
| 31 | |
| 32 | async function postAbort() { |
| 33 | const ac = new AbortController(); |
no test coverage detected
searching dependent graphs…