File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/rules-unit-testing/src/api Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import firebase from 'firebase' ;
19
+ import 'firebase/database' ;
20
+ import 'firebase/firestore' ;
21
+ import 'firebase/storage' ;
22
+
19
23
import type { app } from 'firebase-admin' ;
20
24
import { _FirebaseApp } from '@firebase/app-types/private' ;
21
25
import { FirebaseAuthInternal } from '@firebase/auth-interop-types' ;
@@ -491,9 +495,6 @@ function initializeApp(
491
495
) ;
492
496
}
493
497
if ( databaseName ) {
494
- const { hostname, port } = parseHost ( getDatabaseHost ( ) ) ;
495
- app . database ( ) . useEmulator ( hostname , port ) ;
496
-
497
498
// Toggle network connectivity to force a reauthentication attempt.
498
499
// This mitigates a minor race condition where the client can send the
499
500
// first database request before authenticating.
You can’t perform that action at this time.
0 commit comments