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 4919e4b commit 011c205Copy full SHA for 011c205
test/sequential/test-https-connect-localport.js
@@ -22,10 +22,10 @@ const assert = require('assert');
22
pathname: '/',
23
port,
24
family: 4,
25
- localPort: 34567,
+ localPort: common.PORT,
26
rejectUnauthorized: false
27
}, common.mustCall(() => {
28
- assert.strictEqual(req.socket.localPort, 34567);
+ assert.strictEqual(req.socket.localPort, common.PORT);
29
assert.strictEqual(req.socket.remotePort, port);
30
}));
31
0 commit comments