We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d710a95 commit 96592bcCopy full SHA for 96592bc
packages/rules-unit-testing/src/impl/test_environment.ts
@@ -200,9 +200,8 @@ class RulesTestContextImpl implements RulesTestContext {
200
);
201
return database;
202
}
203
- storage(bucketUrl?: string): firebase.storage.Storage {
+ storage(bucketUrl = `gs://${this.projectId}`): firebase.storage.Storage {
204
assertEmulatorRunning(this.emulators, 'storage');
205
- bucketUrl ||= `gs://${this.projectId}`;
206
const storage = this.getApp().storage(bucketUrl);
207
storage.useEmulator(
208
this.emulators.storage.host,
0 commit comments