mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Preview Tests (#1768)
* preview testing * removed some views that are not really testabl in UnitTests and improved other tests
This commit is contained in:
@@ -33,7 +33,7 @@ struct PlaceholderScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct PlaceholderScreen_Previews: PreviewProvider {
|
||||
struct PlaceholderScreen_Previews: PreviewProvider, TestablePreview {
|
||||
static var previews: some View {
|
||||
PlaceholderScreen()
|
||||
.previewDisplayName("Screen")
|
||||
|
||||
@@ -31,7 +31,7 @@ struct SplashScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct SplashScreen_Previews: PreviewProvider {
|
||||
struct SplashScreen_Previews: PreviewProvider, TestablePreview {
|
||||
static var previews: some View {
|
||||
SplashScreen()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user