Skip to content

Commit

Permalink
test(analytics): fix broken getSessionId() test that requires async…
Browse files Browse the repository at this point in the history
… API (#12331)
  • Loading branch information
russellwheatley committed Feb 15, 2024
1 parent 051a6b5 commit b586a5d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class FirebaseAnalyticsWeb extends FirebaseAnalyticsPlatform {
}

@override
Future<int?> getSessionId() {
// TODO: change UnimplementedError to UnsupportedError
Future<int?> getSessionId() async {
throw UnimplementedError('getSessionId() is not supported on Web.');
}

Expand Down

0 comments on commit b586a5d

Please sign in to comment.