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 1b59036 commit c655631Copy full SHA for c655631
test/model/message_list_test.dart
@@ -96,6 +96,9 @@ void main() {
96
}
97
98
group('fetchInitial', () {
99
+ final someChannel = eg.stream();
100
+ const someTopic = 'some topic';
101
+
102
group('smoke', () {
103
Future<void> smoke(
104
Narrow narrow,
@@ -126,6 +129,11 @@ void main() {
126
129
test('CombinedFeedNarrow', () async {
127
130
await smoke(const CombinedFeedNarrow(), (i) => eg.streamMessage());
128
131
});
132
133
+ test('TopicNarrow', () async {
134
+ await smoke(TopicNarrow(someChannel.streamId, eg.t(someTopic)),
135
+ (i) => eg.streamMessage(stream: someChannel, topic: someTopic));
136
+ });
137
138
139
test('short history', () async {
0 commit comments