We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8213023 commit 7870963Copy full SHA for 7870963
StreamChatSwiftUITests/Tests/ChatChannel/ChatChannelView_Tests.swift
@@ -109,4 +109,17 @@ class ChatChannelView_Tests: StreamChatTestCase {
109
// Then
110
assertSnapshot(matching: view, as: .image)
111
}
112
+
113
+ func test_defaultChannelHeader_snapshot() {
114
+ // Given
115
+ let modifier = DefaultChannelHeaderModifier(channel: .mockDMChannel(name: "Test"))
116
+ let view = NavigationView {
117
+ Text("Test")
118
+ .modifier(modifier)
119
+ }
120
+ .applyDefaultSize()
121
122
+ // Then
123
+ assertSnapshot(matching: view, as: .image)
124
125
StreamChatSwiftUITests/Tests/ChatChannel/__Snapshots__/ChatChannelView_Tests/test_defaultChannelHeader_snapshot.1.png
60.1 KB
0 commit comments