From 8a8a894092ddbec8f0365ced0e94a75b1307ecf1 Mon Sep 17 00:00:00 2001 From: Jorge Leal Date: Mon, 15 Dec 2014 07:06:02 +0100 Subject: [PATCH] Changed proxyServer and destiny to local variables. --- test/lib-http-proxy-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/lib-http-proxy-test.js b/test/lib-http-proxy-test.js index f482dd2..0143293 100644 --- a/test/lib-http-proxy-test.js +++ b/test/lib-http-proxy-test.js @@ -379,9 +379,9 @@ describe('lib/http-proxy.js', function() { target: 'ws://127.0.0.1:' + ports.source, ws: true }); - proxyServer = proxy.listen(ports.proxy); + var proxyServer = proxy.listen(ports.proxy); var server = http.createServer(); - destiny = io.listen(server); + var destiny = io.listen(server); function startSocketIo() { var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy);