test(ios): cover bridge client + more views

This commit is contained in:
Peter Steinberger
2025-12-14 03:37:51 +00:00
parent efc7181aa0
commit d0134722af
2 changed files with 198 additions and 0 deletions

View File

@@ -51,4 +51,15 @@ import UIKit
let root = NavigationStack { VoiceWakeWordsSettingsView() }
_ = Self.host(root)
}
@Test @MainActor func chatSheetBuildsAViewHierarchy() {
let bridge = BridgeSession()
let root = ChatSheet(bridge: bridge, sessionKey: "test")
_ = Self.host(root)
}
@Test @MainActor func voiceWakeToastBuildsAViewHierarchy() {
let root = VoiceWakeToast(command: "clawdis: do something")
_ = Self.host(root)
}
}