We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a25baca commit f4b0e9fCopy full SHA for f4b0e9f
Tests/PusherIncomingEventHandlingTests.swift
@@ -104,7 +104,11 @@ class HandlingIncomingEventsSpec: QuickSpec {
104
}
105
106
it("should pass incoming messages to the debugLogger if one is set") {
107
- let debugLogger = { (text: String) in socket.appendToCallbackCheckString(text) }
+ let debugLogger = { (text: String) in
108
+ if text.rangeOfString("websocketDidReceiveMessage") != nil {
109
+ socket.appendToCallbackCheckString(text)
110
+ }
111
112
pusher = Pusher(key: key)
113
pusher.connection.debugLogger = debugLogger
114
socket.delegate = pusher.connection
0 commit comments