restoring a test name

This commit is contained in:
Mauro Romito
2023-10-18 15:19:52 +02:00
committed by Mauro
parent eb9c69ce20
commit 75da7ba3ec
+1 -1
View File
@@ -58,7 +58,7 @@ struct PillView_Previews: PreviewProvider, TestablePreview {
PillView(imageProvider: mockMediaProvider,
context: PillContext.mock(type: .loadedUser(isOwn: true))) { }
// To simulate the trimming that happens at UIKit level
.frame(maxWidth: PillConstants.maxWidth)
.previewDisplayName("Loaded Long Own")
PillView(imageProvider: mockMediaProvider,
context: PillContext.mock(type: .allUsers)) { }
.previewDisplayName("All Users")