mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
ESlint manual fix
This commit is contained in:
@@ -186,7 +186,10 @@ describe('connection', function () {
|
||||
it('reconnect delay should increase every time', function (done) {
|
||||
var manager = io.Manager({ reconnection: true, timeout: 0, reconnectionAttempts: 3, reconnectionDelay: 100, randomizationFactor: 0.2 });
|
||||
var socket = manager.socket('/timeout');
|
||||
var reconnects = 0, increasingDelay = true, startTime, prevDelay = 0;
|
||||
var reconnects = 0;
|
||||
var increasingDelay = true;
|
||||
var startTime;
|
||||
var prevDelay = 0;
|
||||
|
||||
socket.on('connect_error', function () {
|
||||
startTime = new Date().getTime();
|
||||
|
||||
@@ -4,7 +4,6 @@ var url = require('../lib/url');
|
||||
var expect = require('expect.js');
|
||||
|
||||
describe('url', function () {
|
||||
|
||||
it('works with undefined', function () {
|
||||
loc.hostname = 'woot.com';
|
||||
loc.protocol = 'https:';
|
||||
|
||||
Reference in New Issue
Block a user