Skip to content

Commit 0aaf837

Browse files
committed
Fix tests again
1 parent 9c4ecb7 commit 0aaf837

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/util/test/defaults.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ describe('getDefaultEmulatorHost', () => {
4343
after(() => {
4444
restore();
4545
});
46-
it('returns undefined', () => {
46+
it('returns undefined and does not throw', () => {
4747
expect(getDefaultEmulatorHost('firestore')).to.be.undefined;
48+
expect(getDefaultEmulatorHost('firestore')).to.not.throw;
4849
});
4950
});
5051

@@ -58,8 +59,9 @@ describe('getDefaultEmulatorHost', () => {
5859
after(() => {
5960
restore();
6061
});
61-
it('returns undefined and calls console.info', () => {
62+
it('returns undefined and does not throw', () => {
6263
expect(getDefaultEmulatorHost('firestore')).to.be.undefined;
64+
expect(getDefaultEmulatorHost('firestore')).to.not.throw;
6365
});
6466
});
6567

0 commit comments

Comments
 (0)