workspaces/cogito-ios-app/CogitoTests/Telepath/TelepathChannelExample.swift
import Foundation
@testable import Cogito
extension TelepathChannel {
static var example: TelepathChannel {
let connectUrl = URL(string: "https://cogito.example.com/telepath/connect#I=1234&E=abcd&A=QQ")!
let channel = TelepathChannel(connectUrl: connectUrl,
telepath: TelepathMock())
channel.connect(completion: nil)
return channel
}
}