We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9197b0f commit 3b79983Copy full SHA for 3b79983
1 file changed
test/parallel/test-tls-getprotocol.js
@@ -35,7 +35,7 @@ const serverConfig = {
35
const server = tls.createServer(serverConfig, common.mustCall(clientConfigs.length))
36
.listen(0, common.localhostIPv4, function() {
37
let connected = 0;
38
- clientConfigs.forEach(function(v) {
+ for (const v of clientConfigs) {
39
tls.connect({
40
host: common.localhostIPv4,
41
port: server.address().port,
@@ -51,5 +51,5 @@ const server = tls.createServer(serverConfig, common.mustCall(clientConfigs.leng
51
if (++connected === clientConfigs.length)
52
server.close();
53
}));
54
- });
+ }
55
});
0 commit comments