Skip to content

Commit a04ed30

Browse files
committed
prettier
1 parent ed84adb commit a04ed30

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

packages-exp/functions-exp/src/callable.test.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ describe('Firebase Functions > Call', () => {
108108

109109
it('token', async () => {
110110
// mock auth-internal service
111-
const authMock: FirebaseAuthInternal = ({
111+
const authMock: FirebaseAuthInternal = {
112112
getToken: async () => ({ accessToken: 'token' })
113-
} as unknown) as FirebaseAuthInternal;
113+
} as unknown as FirebaseAuthInternal;
114114
const authProvider = new Provider<FirebaseAuthInternalName>(
115115
'auth-internal',
116116
new ComponentContainer('test')
@@ -139,15 +139,19 @@ describe('Firebase Functions > Call', () => {
139139
return;
140140
}
141141
// mock firebase messaging
142-
const messagingMock: MessagingInternal = ({
142+
const messagingMock: MessagingInternal = {
143143
getToken: async () => 'iid'
144-
} as unknown) as MessagingInternal;
144+
} as unknown as MessagingInternal;
145145
const messagingProvider = new Provider<MessagingInternalComponentName>(
146146
'messaging-internal',
147147
new ComponentContainer('test')
148148
);
149149
messagingProvider.setComponent(
150-
new Component('messaging-internal', () => messagingMock, ComponentType.PRIVATE)
150+
new Component(
151+
'messaging-internal',
152+
() => messagingMock,
153+
ComponentType.PRIVATE
154+
)
151155
);
152156

153157
const functions = createTestService(

packages-exp/functions-exp/src/config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
2828
import { AppCheckInternalComponentName } from '@firebase/app-check-interop-types';
2929
import { MessagingInternalComponentName } from '@firebase/messaging-interop-types';
3030

31-
const AUTH_INTERNAL_NAME: FirebaseAuthInternalName =
32-
'auth-internal';
31+
const AUTH_INTERNAL_NAME: FirebaseAuthInternalName = 'auth-internal';
3332
const APP_CHECK_INTERNAL_NAME: AppCheckInternalComponentName =
3433
'app-check-internal';
3534
const MESSAGING_INTERNAL_NAME: MessagingInternalComponentName =

0 commit comments

Comments
 (0)