Skip to content

Commit 1284c94

Browse files
committed
Minor fixes
1 parent 65abed5 commit 1284c94

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

packages/rules-unit-testing/firebase.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"functions": {
1313
"port": 9004
1414
},
15+
"storage": {
16+
"port": 9199
17+
},
1518
"ui": {
1619
"enabled": false
1720
}

packages/rules-unit-testing/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export {
3333
initializeTestApp,
3434
loadDatabaseRules,
3535
loadFirestoreRules,
36+
loadStorageRules,
3637
useEmulators,
3738
withFunctionTriggersDisabled
3839
} from './src/api';

packages/rules-unit-testing/src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function parseHost(host: string): { hostname: string, port: number } {
412412
const u = new URL(host);
413413
return {
414414
hostname: u.hostname,
415-
port: Number.parseInt(u.port, 10);
415+
port: Number.parseInt(u.port, 10)
416416
}
417417
}
418418

packages/rules-unit-testing/test/database.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ describe('Testing Module Tests', function () {
165165
host: 'localhost',
166166
port: 9003
167167
},
168+
storage: {
169+
host: 'localhost',
170+
port: 9199
171+
},
168172
hub: {
169173
host: 'localhost',
170174
port: 4400

0 commit comments

Comments
 (0)