You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/apps/macos/Tests/OpenClawIPCTests/WebChatManagerTests.swift

12 lines
318 B
Swift

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