Skip to content

Commit 9a0e69b

Browse files
committed
chore(graphql): apply format
1 parent 02f3baa commit 9a0e69b

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

packages/graphql/test/websocket_test.dart

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ import './helpers.dart';
1212
import './mock_server/ws_echo_server.dart';
1313
import '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

Comments
 (0)