()
| 69 | const test1 = makeRequests(N, M); |
| 70 | |
| 71 | const test2 = () => { |
| 72 | // Should not explode if can not create sockets. |
| 73 | // Ref: https://github.com/nodejs/node/issues/13045 |
| 74 | // Ref: https://github.com/nodejs/node/issues/13831 |
| 75 | http.Agent.prototype.createConnection = function createConnection(_, cb) { |
| 76 | process.nextTick(cb, new Error('nothing')); |
| 77 | }; |
| 78 | return makeRequests(N, M, true); |
| 79 | }; |
| 80 | |
| 81 | test1 |
| 82 | .then(test2) |
nothing calls this directly
no test coverage detected
searching dependent graphs…