Skip to content

Commit

Permalink
Changed proxyServer and destiny to local variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Leal authored and jcrugzz committed Dec 17, 2014
1 parent c62610e commit 8a8a894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib-http-proxy-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,9 @@ describe('lib/http-proxy.js', function() {
target: 'ws:https://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:https://127.0.0.1:' + ports.proxy);
Expand Down

0 comments on commit 8a8a894

Please sign in to comment.