Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ipavlidakis committed Jan 25, 2024
1 parent 5291971 commit 5089918
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ final class ParticipantListButton_Tests: StreamVideoUITestCase {
}

func test_subject_withParticipants_viewWasConfiguredCorrectly() async throws {
viewModel.call?.state.participantsMap = (0..<5).reduce(into: [String: CallParticipant]()) { partialResult, _ in
let participant = CallParticipant.dummy()
partialResult[participant.id] = participant
}
viewModel.call?.state.participants = (0..<5).map { _ in CallParticipant.dummy() }

try await Task.sleep(nanoseconds: 1_000_000_000)

Expand Down

0 comments on commit 5089918

Please sign in to comment.