Skip to content

Commit

Permalink
Add example app name
Browse files Browse the repository at this point in the history
  • Loading branch information
MvRemmerden committed Jun 29, 2024
1 parent ed69ee7 commit c7d8ceb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/initFirebaseClientSDK.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('initFirebaseClientSDK', () => {
databaseURL: 'https://my-example-app.firebaseio.com',
projectId: 'my-example-app-id',
},
undefined
'example-app-name'
)
})

Expand Down
1 change: 1 addition & 0 deletions src/configTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const defaultConfig = {
onVerifyTokenError: (_err: Error) => {},
// eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars
onTokenRefreshError: (_err: Error) => {},
firebaseClientAppName: 'example-app-name',
cookies: {
// Required to be provided by the user.
// name: undefined,
Expand Down
1 change: 1 addition & 0 deletions src/testHelpers/createMockConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const createMockConfig = ({ clientSide }: { clientSide?: boolean } = {}) => {
databaseURL: 'https://my-example-app.firebaseio.com',
projectId: 'my-example-app-id',
},
firebaseClientAppName: 'example-app-name',
cookies: {
name: 'someExample',
keys: useClientSideConfig ? [] : ['abc', 'def'],
Expand Down

0 comments on commit c7d8ceb

Please sign in to comment.