             XCTAssertFalse(connected)
             expectDisconnectEvent.fulfill()
         }
-        wait(for: [expectOnDidconnect, expectDisconnectEvent], timeout: 1)
+        wait(for: [expectOnDidconnect, expectDisconnectEvent], timeout: 2)
     }
 
     func testConnectionInterruption() {

            XCTAssertTrue(connected)
            expectOnConnect.fulfill()
        }
        wait(for: [expectOnConnect, expectReceivedConnect], timeout: 1)
        socketManager.clear()

        // Event Cascading in WebSocketMock

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

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