Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Link issue to split mocking better.
Browse files Browse the repository at this point in the history
  • Loading branch information
ditman committed Feb 14, 2023
1 parent 523ff48 commit 95f3d9e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
// found in the LICENSE file.
import 'dart:async';

// TODO(dit): A better layer to split this would be to make a mockable client that
// exposes only the APIs we need from gis_web/id.dart and gis_web/oauth2.dart.
// That way, the GisSdkClient class would be testable (and the mock surface would
// only deal with the few methods we actually use from the SDK). Next version.
// TODO(dit): Split `id` and `oauth2` "services" for mocking. https://github.com/flutter/flutter/issues/120657
import 'package:google_identity_services_web/id.dart';
import 'package:google_identity_services_web/oauth2.dart';
import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.dart';
// ignore: unnecessary_import
import 'package:js/js.dart';
import 'package:js/js_util.dart';

Expand Down

0 comments on commit 95f3d9e

Please sign in to comment.