Skip to content

Commit

Permalink
test(storage): fix e2e test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Aug 27, 2024
1 parent bd7008c commit 05ef09a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions packages/storage/e2e/StorageReference.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ const { PATH, seed, WRITE_ONLY_NAME } = require('./helpers');
describe('storage() -> StorageReference', function () {
describe('firebase v8 compatibility', function () {
before(async function () {
if (!Platform.other) {
// Only for iOS
await seed(PATH);
}
await seed(PATH);
});

describe('toString()', function () {
Expand Down Expand Up @@ -701,10 +698,8 @@ describe('storage() -> StorageReference', function () {
const secondStorageBucket = 'gs://react-native-firebase-testing';

before(async function () {
if (!Platform.other) {
// Only for iOS
await seed(PATH);
}
await seed(PATH);

const { getStorage } = storageModular;
secondStorage = getStorage(firebase.app(), secondStorageBucket);
});
Expand Down

0 comments on commit 05ef09a

Please sign in to comment.