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 50448b4 commit 8c823e1Copy full SHA for 8c823e1
packages/realtime_client/test/socket_test.dart
@@ -393,6 +393,7 @@ void main() {
393
mockedSink = MockWebSocketSink();
394
395
when(() => mockedSocketChannel.sink).thenReturn(mockedSink);
396
+ when(() => mockedSink.close()).thenAnswer((_) => Future.value());
397
});
398
399
test('sends data to connection when connected', () {
@@ -575,6 +576,7 @@ void main() {
575
576
577
578
579
580
581
mockedSocket.connect();
582
0 commit comments