Preview Tests (#1768)
* preview testing * removed some views that are not really testabl in UnitTests and improved other tests
This commit is contained in:
@@ -174,7 +174,7 @@ struct SoftLogoutScreen: View {
|
||||
|
||||
// MARK: - Previews
|
||||
|
||||
struct SoftLogoutScreen_Previews: PreviewProvider {
|
||||
struct SoftLogoutScreen_Previews: PreviewProvider, TestablePreview {
|
||||
static var previews: some View {
|
||||
ForEach(MockSoftLogoutScreenState.allCases) { state in
|
||||
screen(for: state.viewModel)
|
||||
|
||||
Reference in New Issue
Block a user