Skip to content

Commit

Permalink
test(storage): configure storage secondary app to use emulator
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mikehardy authored and exaby73 committed Sep 26, 2024
1 parent 44d46dd commit 6bc6728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
Expand Down

0 comments on commit 6bc6728

Please sign in to comment.