Skip to content

Commit a4048c7

Browse files
committed
Fix typo
1 parent 1a387ea commit a4048c7

File tree

1 file changed

+1
-1
lines changed
  • packages/rules-unit-testing/src/api

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ function initializeApp(
497497
}
498498
if (databaseName) {
499499
const { hostname, port } = parseHost(getDatabaseHost());
500-
app.firestore().useEmulator(hostname, port);
500+
app.database().useEmulator(hostname, port);
501501

502502
// Toggle network connectivity to force a reauthentication attempt.
503503
// This mitigates a minor race condition where the client can send the

0 commit comments

Comments
 (0)