diff --git a/test/connection.js b/test/connection.js index 0a9edae2a..d4e7d718d 100644 --- a/test/connection.js +++ b/test/connection.js @@ -458,7 +458,7 @@ describe('connection', function () { var socket = manager.socket('/room1'); - setTimeout(() => { + setTimeout(function () { manager.socket('/room2'); }, delay); });