Skip to content

Commit 8a8a894

Browse files
Jorge Lealjcrugzz
Jorge Leal
authored andcommitted
Changed proxyServer and destiny to local variables.
1 parent c62610e commit 8a8a894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lib-http-proxy-test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@ describe('lib/http-proxy.js', function() {
379379
target: 'ws://127.0.0.1:' + ports.source,
380380
ws: true
381381
});
382-
proxyServer = proxy.listen(ports.proxy);
382+
var proxyServer = proxy.listen(ports.proxy);
383383
var server = http.createServer();
384-
destiny = io.listen(server);
384+
var destiny = io.listen(server);
385385

386386
function startSocketIo() {
387387
var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy);

0 commit comments

Comments
 (0)