ci(client): fix lint and clean up work-around
MODIFY
.circleci/config.yml
.circleci/config.yml
@@ -102,7 +102,6 @@ jobs:
cd packages/graphql
pub global activate coverage
pub get
- dart2js test/websocket_test.dart
pub run test_coverage
# cannot `run pub run test test/.test_coverage.dart -p chromium`
# it randomly fails compiling some dart files to js

MODIFY
packages/graphql/test/in_memory_storage_test.dart
packages/graphql/test/in_memory_storage_test.dart
@@ -2,8 +2,6 @@ import 'dart:async';
import 'package:test/test.dart';
import 'package:graphql/src/cache/in_memory.dart';
-import 'helpers.dart';
-
const String aKey = 'aKey';
const String bKey = 'bKey';
const String cKey = 'cKey';

MODIFY
packages/graphql/test/websocket_legacy_io_test.dart
packages/graphql/test/websocket_legacy_io_test.dart
@@ -14,8 +14,10 @@ void main() {
group(
'SocketClient',
() {
+ // ignore: deprecated_member_use_from_same_package
SocketClient socketClient;
setUp(() {
+ // ignore: deprecated_member_use_from_same_package
socketClient = SocketClient(
'ws://echo.websocket.org',
protocols: null,

MODIFY
packages/graphql/test/websocket_legacy_test.dart
packages/graphql/test/websocket_legacy_test.dart
@@ -8,6 +8,7 @@ import 'helpers.dart';
void main() {
group('Link Websocket', () {
test('simple connection', overridePrint((List<String> log) {
+ // ignore: deprecated_member_use_from_same_package
WebSocketLink(
url: 'ws://echo.websocket.org',
// ignore: deprecated_member_use_from_same_package

ci(client): fix lint and clean up work-around