This commit is contained in:
Alfonso Grillo
2023-01-23 15:18:58 +01:00
parent 5cea4e441d
commit bbdda2a8b0
4 changed files with 14 additions and 8 deletions
@@ -22,9 +22,9 @@ final class MockPollHistoryService: PollHistoryServiceProtocol {
updatesPublisher
}
var updatesErrorsPublisher: AnyPublisher<Error, Never> = Empty().eraseToAnyPublisher()
var updatesErrors: AnyPublisher<Error, Never> {
updatesErrorsPublisher
var pollErrorPublisher: AnyPublisher<Error, Never> = Empty().eraseToAnyPublisher()
var pollErrors: AnyPublisher<Error, Never> {
pollErrorPublisher
}
lazy var nextPublisher: AnyPublisher<TimelinePollDetails, Error> = (activePollsData + pastPollsData)