From 080aa0fe4f554320b619d417a053b34557eb9ca2 Mon Sep 17 00:00:00 2001 From: Feiyang1 Date: Wed, 28 Jul 2021 10:40:35 -0700 Subject: [PATCH] address comments --- packages-exp/app-compat/test/firebaseAppCompat.test.ts | 2 +- packages-exp/app-exp/src/errors.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages-exp/app-compat/test/firebaseAppCompat.test.ts b/packages-exp/app-compat/test/firebaseAppCompat.test.ts index 4803d9dffd2..83c0367f569 100644 --- a/packages-exp/app-compat/test/firebaseAppCompat.test.ts +++ b/packages-exp/app-compat/test/firebaseAppCompat.test.ts @@ -346,7 +346,7 @@ function firebaseAppTests( expect(firebase.apps.length).to.eq(2); }); - it('initilizeApp can be called more than once and returns the same instance if the options and config are the same', () => { + it('initializeApp can be called more than once and returns the same instance if the options and config are the same', () => { const app = firebase.initializeApp( { apiKey: 'test1' diff --git a/packages-exp/app-exp/src/errors.ts b/packages-exp/app-exp/src/errors.ts index a8aaca17554..b8bbae5c1b8 100644 --- a/packages-exp/app-exp/src/errors.ts +++ b/packages-exp/app-exp/src/errors.ts @@ -32,7 +32,7 @@ const ERRORS: ErrorMap = { 'call Firebase App.initializeApp()', [AppError.BAD_APP_NAME]: "Illegal App name: '{$appName}", [AppError.DUPLICATE_APP]: - "Firebase App named '{$appName}' already exists with different options", + "Firebase App named '{$appName}' already exists with different options or config", [AppError.APP_DELETED]: "Firebase App named '{$appName}' already deleted", [AppError.INVALID_APP_ARGUMENT]: 'firebase.{$appName}() takes either no argument or a ' +