mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: ensure assertions are reached on more tests
PR-URL: https://github.com/nodejs/node/pull/60759 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
57 files changed
+246
-286
No files matched your search
@@ -31,7 +31,7 @@ server.on('connection', function() {
|
||||
connections++;
|
||||
});
|
||||
|
||||
server.listen(0, function() {
|
||||
server.listen(0, common.mustCall(() => {
|
||||
const port = server.address().port;
|
||||
|
||||
// Create a first request but never finish it
|
||||
@@ -68,4 +68,4 @@ server.listen(0, function() {
|
||||
client1.on('error', () => {});
|
||||
|
||||
client1.write('GET / HTTP/1.1');
|
||||
});
|
||||
}));
|
||||
Reference in new issue
Block a user