Address PR comments

This commit is contained in:
Stefan Ceriu
2026-08-21 11:40:10 +03:00
parent 72d55e485a
commit 8a3468658b
5 changed files with 15 additions and 27 deletions
@@ -271,8 +271,6 @@ struct RoomDetailsScreenViewModelTests {
#expect(context.viewState.dmRecipientInfo?.member == RoomMemberDetails(withProxy: recipient))
#expect(!context.viewState.isProcessingIgnoreRequest)
// Waiting on the transient isProcessingIgnoreRequest transition races the view model's task,
// which can complete before the observation starts. Wait on the alert instead.
let deferredAlert = deferFulfillment(context.observe(\.alertInfo)) { $0 != nil }
context.send(viewAction: .unignoreConfirmed)