()
| 170 | server.listen(0, '127.0.0.1'); |
| 171 | |
| 172 | function closeServer() { |
| 173 | server.close(); |
| 174 | |
| 175 | setTimeout(mustCall(() => { |
| 176 | assert(!closeEmitted); |
| 177 | child1.send('close'); |
| 178 | child2.send('close'); |
| 179 | child3.disconnect(); |
| 180 | }), platformTimeout(200)); |
| 181 | } |
| 182 | |
| 183 | process.on('exit', function() { |
| 184 | assert.strictEqual(server._workers.length, 0); |
no test coverage detected
searching dependent graphs…