Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Feiyang1 committed Jul 28, 2021
1 parent c3b828d commit 080aa0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages-exp/app-compat/test/firebaseAppCompat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages-exp/app-exp/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const ERRORS: ErrorMap<AppError> = {
'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 ' +
Expand Down

0 comments on commit 080aa0f

Please sign in to comment.