diff --git a/.changeset/flat-eagles-obey.md b/.changeset/flat-eagles-obey.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/flat-eagles-obey.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/firestore/test/integration/api/provider.test.ts b/packages/firestore/test/integration/api/provider.test.ts index 04a148bf987..cc7888a5385 100644 --- a/packages/firestore/test/integration/api/provider.test.ts +++ b/packages/firestore/test/integration/api/provider.test.ts @@ -66,6 +66,13 @@ describe('Firestore Provider', () => { const fs3 = getFirestore(app); const fs4 = getFirestore(app, 'name1'); const fs5 = getFirestore(app, 'name2'); + + expect(fs1._databaseId.database).to.be.equal('init1'); + expect(fs2._databaseId.database).to.be.equal('init2'); + expect(fs3._databaseId.database).to.be.equal('(default)'); + expect(fs4._databaseId.database).to.be.equal('name1'); + expect(fs5._databaseId.database).to.be.equal('name2'); + expect(fs1).to.not.be.equal(fs2); expect(fs1).to.not.be.equal(fs3); expect(fs1).to.not.be.equal(fs4);