added alert to show possible error, improved tests

This commit is contained in:
Flavio Alescio
2023-01-27 17:10:16 +01:00
parent 378d4d072e
commit 9d0f5c208b
7 changed files with 45 additions and 40 deletions
@@ -51,4 +51,5 @@ class PollHistoryDetailViewModelTests: XCTestCase {
func testInitialState() {
XCTAssertFalse(context.viewState.isPollClosed)
}
}