mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-11-22 08:17:28 +00:00
Merge f169dc322f04016f339c860e154d4a140469f7aa into 04995f68e470a18d1fc99f86fa326c2a87bab4f2
This commit is contained in:
commit
9ac6e9f58c
@ -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)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user