()
| 25 | })); |
| 26 | |
| 27 | function getAll() { |
| 28 | if (!createClients) |
| 29 | return; |
| 30 | |
| 31 | const req = http.get({ |
| 32 | hostname: 'localhost', |
| 33 | pathname: '/', |
| 34 | port: server.address().port |
| 35 | }, cb).on('error', cb); |
| 36 | |
| 37 | count++; |
| 38 | onGC(req, { ongc }); |
| 39 | |
| 40 | setImmediate(getAll); |
| 41 | } |
| 42 | |
| 43 | function cb(res) { |
| 44 | done += 1; |
no test coverage detected
searching dependent graphs…