Skip to content

Commit

Permalink
Update database.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DellaBitta committed Feb 6, 2025
1 parent cbaf931 commit a04b531
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/database-compat/test/database.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ describe('Database Tests', () => {

expect(() => {
db.useEmulator('localhost', 1234);
}).to.throw(/FIREBASE FATAL ERROR: connectDatabaseEmulator() cannot initialize/);
}).to.throw(
'FIREBASE FATAL ERROR: connectDatabaseEmulator() cannot initialize or alter the emulator configuration after the database instance has started.'
);
});

it('refFromURL returns an emulated ref with useEmulator', () => {
Expand Down

0 comments on commit a04b531

Please sign in to comment.