fix test for node 0.10 + socket.io-client@1.4.6 (engine.io-client@1.6.9) (#1010)

This commit is contained in:
Jeremy Judeaux 2016-05-25 18:18:51 +02:00 committed by Jarrett Cruger
parent 5082acc067
commit 3e966361bc

View File

@ -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();
});