Files
openclaw/apps/macos/Tests/OpenClawIPCTests/WebChatManagerTests.swift

12 lines
311 B
Swift
Raw Normal View History

import Testing
2026-01-30 03:15:10 +01:00
@testable import OpenClaw
@Suite(.serialized)
@MainActor
struct WebChatManagerTests {
@Test func preferredSessionKeyIsNonEmpty() async {
let key = await WebChatManager.shared.preferredSessionKey()
#expect(!key.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty)
}
}