Skip to content

Commit

Permalink
Remove delay in fake socket channel
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Oct 11, 2024
1 parent cb373b1 commit ac8b526
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/network/fake_websocket_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ class FakeWebSocketChannelFactory implements WebSocketChannelFactory {
Map<String, dynamic>? headers,
Duration timeout = const Duration(seconds: 1),
}) async {
// in the real implementation the channel is returned after the [WebSocket]
// is connected, so we need to simulate this delay
await Future<void>.delayed(const Duration(milliseconds: 5));
return createFunction();
}
}
Expand Down

0 comments on commit ac8b526

Please sign in to comment.