             XCTAssertTrue(connected)
             expectOnConnect.fulfill()
         }
-        wait(for: [expectOnConnect, expectReceivedConnect], timeout: 1)
+        wait(for: [expectOnConnect, expectReceivedConnect], timeout: 2)
         socketManager.clear()
 
         // Connection Interruption

            expectOnConnectionInterrupted.fulfill()
        }
        socket.disconnect()
        wait(for: [expectOnConnectionInterrupted], timeout: 1)
    }

}

            }
        }
        socketManager.send(["msg": "mock", "mock": "EventCascading"])
        wait(for: [expectEventCascading], timeout: 2)

        // Disconnect
        let expectOnDidconnect = XCTestExpectation(description: "Expect `onDisconnect` being called")
