Skip to content

Commit 960a02c

Browse files
committed
impl back in place
1 parent 9738a5c commit 960a02c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/database/src/api/Database.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { Provider } from '@firebase/component';
2727
import {
2828
getModularInstance,
2929
createMockUserToken,
30-
// deepEqual,
30+
deepEqual,
3131
EmulatorMockTokenOptions,
3232
getDefaultEmulatorHostnameAndPort
3333
} from '@firebase/util';
@@ -358,9 +358,8 @@ export function connectDatabaseEmulator(
358358
// If the instance has already been started, then silenty fail if this function is called again
359359
// with the same parameters. If the parameters differ then assert.
360360
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)
364363
) {
365364
return;
366365
}

0 commit comments

Comments
 (0)