Add ui tests

This commit is contained in:
Alfonso Grillo
2023-01-17 17:35:44 +01:00
parent cc90d9bcce
commit ca8e5501f1
3 changed files with 26 additions and 3 deletions
@@ -45,7 +45,7 @@ struct PollHistory: View {
.onAppear {
viewModel.send(viewAction: .viewAppeared)
}
.onChange(of: viewModel.mode) { newValue in
.onChange(of: viewModel.mode) { _ in
viewModel.send(viewAction: .segmentDidChange)
}
}