fix(ui): fix tests
This commit is contained in:
committed by
Efthymios Sarmpanis
parent
7d90dc0cfe
commit
549f3f03d5
@@ -5,6 +5,8 @@ import 'package:stream_chat_flutter_core/stream_chat_flutter_core.dart';
|
||||
class MockClient extends Mock implements StreamChatClient {
|
||||
MockClient() {
|
||||
when(() => wsConnectionStatus).thenReturn(ConnectionStatus.connected);
|
||||
when(() => wsConnectionStatusStream)
|
||||
.thenAnswer((_) => Stream.value(ConnectionStatus.connected));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user