Files
openclaw/apps/macos/Tests/OpenClawIPCTests/WebChatManagerTests.swift
2026-01-30 03:16:21 +01:00

12 lines
311 B
Swift

import Testing
@testable import OpenClaw
@Suite(.serialized)
@MainActor
struct WebChatManagerTests {
@Test func preferredSessionKeyIsNonEmpty() async {
let key = await WebChatManager.shared.preferredSessionKey()
#expect(!key.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty)
}
}