File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/database/src/api Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { Provider } from '@firebase/component';
27
27
import {
28
28
getModularInstance ,
29
29
createMockUserToken ,
30
- // deepEqual,
30
+ deepEqual ,
31
31
EmulatorMockTokenOptions ,
32
32
getDefaultEmulatorHostnameAndPort
33
33
} from '@firebase/util' ;
@@ -358,9 +358,8 @@ export function connectDatabaseEmulator(
358
358
// If the instance has already been started, then silenty fail if this function is called again
359
359
// with the same parameters. If the parameters differ then assert.
360
360
if (
361
- true
362
- // hostAndPort === db._repoInternal.repoInfo_.host //&&
363
- //deepEqual(options, repo.repoInfo_.emulatorOptions)
361
+ hostAndPort === db . _repoInternal . repoInfo_ . host &&
362
+ deepEqual ( options , repo . repoInfo_ . emulatorOptions )
364
363
) {
365
364
return ;
366
365
}
You can’t perform that action at this time.
0 commit comments