@@ -12,15 +12,14 @@ import './helpers.dart';
1212import './mock_server/ws_echo_server.dart' ;
1313import 'mock_server/ws_echo_server.dart' ;
1414
15- SocketClient getTestClient (
16- {required String wsUrl,
17- StreamController <dynamic >? controller,
18- bool autoReconnect = true ,
19- Map <String , dynamic >? customHeaders,
20- Duration delayBetweenReconnectionAttempts =
21- const Duration (milliseconds: 1 ),
22- String protocol = SocketSubProtocol .graphqlWs,
23- }) =>
15+ SocketClient getTestClient ({
16+ required String wsUrl,
17+ StreamController <dynamic >? controller,
18+ bool autoReconnect = true ,
19+ Map <String , dynamic >? customHeaders,
20+ Duration delayBetweenReconnectionAttempts = const Duration (milliseconds: 1 ),
21+ String protocol = SocketSubProtocol .graphqlWs,
22+ }) =>
2423 SocketClient (
2524 wsUrl,
2625 protocol: protocol,
@@ -340,9 +339,9 @@ Future<void> main() async {
340339 setUp (overridePrint ((log) {
341340 controller = StreamController (sync : true );
342341 socketClient = getTestClient (
343- controller: controller,
344- protocol: SocketSubProtocol .graphqlTransportWs,
345- wsUrl: wsUrl,
342+ controller: controller,
343+ protocol: SocketSubProtocol .graphqlTransportWs,
344+ wsUrl: wsUrl,
346345 );
347346 }));
348347 tearDown (overridePrint (
0 commit comments