Add a dedicated target for SDK mocks to avoid type name conflicts on the generated code.

This commit is contained in:
Doug
2026-01-05 17:06:49 +00:00
committed by Doug
parent 44f88adfb0
commit a53b9137ef
34 changed files with 1241 additions and 979 deletions
@@ -184,6 +184,10 @@ private extension View {
}
}
// MARK: - Previews
import MatrixRustSDKMocks
struct HomeScreenRoomCell_Previews: PreviewProvider, TestablePreview {
static let summaryProviderGeneric = RoomSummaryProviderMock(.init(state: .loaded(.mockRooms)))
static let genericRooms = summaryProviderGeneric.roomListPublisher.value.compactMap(mockRoom)