test(ios): add smoke coverage tests

This commit is contained in:
Peter Steinberger
2025-12-14 03:25:49 +00:00
parent a5b3b8743a
commit eec6212cdf
3 changed files with 92 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ final class BridgeConnectionController: ObservableObject {
private var didAutoConnect = false
private var seenStableIDs = Set<String>()
init(appModel: NodeAppModel) {
init(appModel: NodeAppModel, startDiscovery: Bool = true) {
self.appModel = appModel
BridgeSettingsStore.bootstrapPersistence()
@@ -32,7 +32,9 @@ final class BridgeConnectionController: ObservableObject {
self.discovery.$statusText
.assign(to: &self.$discoveryStatusText)
self.discovery.start()
if startDiscovery {
self.discovery.start()
}
}
func setScenePhase(_ phase: ScenePhase) {