From 6bc67288f8c2834ba8516af6ccd0641a5707fee0 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Tue, 24 Sep 2024 15:53:06 -0500 Subject: [PATCH] test(storage): configure storage secondary app to use emulator somehow this wasn't flagged as an error before, but on firebase-ios-sdk v11+ if you attempt to use a secondary app with incorrect emulator config the app will crash now --- tests/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app.js b/tests/app.js index 3db6129dea..04b273de05 100644 --- a/tests/app.js +++ b/tests/app.js @@ -90,6 +90,7 @@ function loadTests(_) { } if (platformSupportedModules.includes('storage')) { firebase.storage().useEmulator('localhost', 9199); + firebase.app('secondaryFromNative').storage().useEmulator('localhost', 9199); firebase.app().storage('gs://react-native-firebase-testing').useEmulator('localhost', 9199); } });