Skip to content

Commit

Permalink
fix(core): web test
Browse files Browse the repository at this point in the history
  • Loading branch information
pr-Mais committed Nov 22, 2021
1 parent fbb9e5e commit 30c7421
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

import 'dart:io';
import 'package:flutter/foundation.dart' show kIsWeb;

import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart';
import 'package:flutter_test/flutter_test.dart';
Expand All @@ -15,7 +17,7 @@ void testsMain() {
String testAppName = 'TestApp';
FirebaseOptions? testAppOptions;

if (Platform.isIOS || Platform.isMacOS) {
if (!kIsWeb && (Platform.isIOS || Platform.isMacOS)) {
testAppOptions = const FirebaseOptions(
appId: '1:448618578101:ios:0b650370bb29e29cac3efc',
apiKey: 'AIzaSyAgUhHU8wSJgO5MVNy95tMT07NEjzMOfz0',
Expand Down

0 comments on commit 30c7421

Please sign in to comment.