Merge f169dc322f04016f339c860e154d4a140469f7aa into 04995f68e470a18d1fc99f86fa326c2a87bab4f2

This commit is contained in:
Maddipatla Chatan 2026-11-04 21:24:33 +05:30 committed by GitHub
commit 9ac6e9f58c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -416,6 +416,9 @@ struct ChatPublicConversationCoordinatorContextTests {
let context = MockChatPublicConversationContext()
let coordinator = ChatPublicConversationCoordinator(context: context)
context.activeChannel = .mesh
// Clearing the mesh timeline writes MeshEchoSettings.clearedThrough to
// UserDefaults.standard; don't leak that into other tests or the host app.
defer { MeshEchoSettings.reset() }
coordinator.clearCurrentPublicTimeline()
@ -433,6 +436,7 @@ struct ChatPublicConversationCoordinatorContextTests {
coordinator.clearCurrentPublicTimeline()
#expect(context.clearedConversations == [.geohash("u4pruy")])
#expect(context.archivePurgeCount == 0)
}