Fix a couple of warnings

This commit is contained in:
Stefan Ceriu
2026-02-02 10:00:08 +02:00
committed by Stefan Ceriu
parent c18b4b4f70
commit 37ee5c9c7e
5 changed files with 8 additions and 11 deletions
@@ -238,7 +238,6 @@ class TimelineViewModelTests: XCTestCase {
// MARK: - Read Receipts
// swiftlint:disable force_unwrapping
func testSendReadReceipt() async throws {
// Given a room with only text items in the timeline
let items = [TextRoomTimelineItem(eventID: "t1"),
@@ -284,7 +283,6 @@ class TimelineViewModelTests: XCTestCase {
try await Task.sleep(for: .milliseconds(100))
}
// swiftlint:enable force_unwrapping
// swiftlint:disable:next large_tuple
private func readReceiptsConfiguration(with items: [RoomTimelineItemProtocol]) -> (TimelineViewModel,
JoinedRoomProxyMock,