From 3e966361bcbd22cd1924059d8199ccb60fb75be4 Mon Sep 17 00:00:00 2001 From: Jeremy Judeaux Date: Wed, 25 May 2016 18:18:51 +0200 Subject: [PATCH] fix test for node 0.10 + socket.io-client@1.4.6 (engine.io-client@1.6.9) (#1010) --- test/lib-http-proxy-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib-http-proxy-test.js b/test/lib-http-proxy-test.js index edbb6f9..385c8aa 100644 --- a/test/lib-http-proxy-test.js +++ b/test/lib-http-proxy-test.js @@ -419,7 +419,7 @@ describe('lib/http-proxy.js', function() { var destiny = io.listen(server); function startSocketIo() { - var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy); + var client = ioClient.connect('ws://127.0.0.1:' + ports.proxy, {rejectUnauthorized: null}); client.on('connect', function () { client.disconnect(); });