Skip to content

Commit 4df8b76

Browse files
committed
Improve test
1 parent 5e101bf commit 4df8b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StreamVideoSwiftUITests/Utils/ParticipantEventResetAdapter/ParticipantEventResetAdapter_Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ final class ParticipantEventResetAdapter_Tests: XCTestCase, @unchecked Sendable
6969
XCTAssertNotNil(self.viewModel.participantEvent)
7070

7171
await self.wait(for: self.interval)
72-
XCTAssertNil(self.viewModel.participantEvent)
72+
await self.fulfilmentInMainActor { self.viewModel.participantEvent == nil }
7373
}
7474

7575
try await group.waitForAll()

0 commit comments

Comments
 (0)