()
| 40 | } |
| 41 | |
| 42 | async function preCreateConnection() { |
| 43 | const ac = new AbortController(); |
| 44 | const { signal } = ac; |
| 45 | ac.abort(); |
| 46 | const connection = agent.createConnection({ ...options, signal }); |
| 47 | const [err] = await once(connection, 'error'); |
| 48 | assert.strictEqual(err.name, 'AbortError'); |
| 49 | } |
| 50 | |
| 51 | |
| 52 | async function agentAsParam() { |
no test coverage detected
searching dependent graphs…