test: use eslint to fix var->const/let

Manually fix issues that eslint --fix couldn't do automatically.

PR-URL: https://github.com/nodejs/node/pull/10685
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
Gibson Fahnestock authored and Italo A. Casas committed 2017-01-30 12:08:39 -05:00
1 parent e6b6ce429c
commit a6bd287724
732 files changed
+3390 -3371

No files matched your search

@@ -19,7 +19,7 @@ const options = {
};
const clientSessions = [];
var serverRequests = 0;
let serverRequests = 0;
const agent = new https.Agent({
maxCachedSessions: 0
@@ -29,7 +29,7 @@ const server = https.createServer(options, function(req, res) {
serverRequests++;
res.end('ok');
}).listen(0, function() {
var waiting = TOTAL_REQS;
let waiting = TOTAL_REQS;
function request() {
const options = {
agent: agent,