add websocket_test.dart

This commit is contained in:
Sahil Kumar
2021-06-03 18:06:56 +05:30
parent d758f3df1d
commit 1626d7432c
8 changed files with 400 additions and 57 deletions
+6
View File
@@ -0,0 +1,6 @@
import 'package:mocktail/mocktail.dart';
import 'package:web_socket_channel/web_socket_channel.dart';
class MockWebSocketChannel extends Mock implements WebSocketChannel {}
class MockWebSocketSink extends Mock implements WebSocketSink {}