mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
12 lines
311 B
Swift
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)
|
|
}
|
|
}
|