Skip to content

Commit 3097128

Browse files
committed
format
1 parent d627474 commit 3097128

File tree

1 file changed

+3
-3
lines changed
  • packages/rules-unit-testing/src/api

1 file changed

+3
-3
lines changed

packages/rules-unit-testing/src/api/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export type FirebaseEmulatorOptions = {
160160

161161
function trimmedBase64Encode(val: string): string {
162162
// Use base64url encoding and remove padding in the end (dot characters).
163-
return base64Encode(val).replace(/\./g, "");
163+
return base64Encode(val).replace(/\./g, '');
164164
}
165165

166166
function createUnsecuredJwt(token: TokenOptions, projectId?: string): string {
@@ -498,7 +498,7 @@ function initializeApp(
498498
ComponentType.PRIVATE
499499
);
500500

501-
((app as unknown) as _FirebaseApp)._addOrOverwriteComponent(
501+
(app as unknown as _FirebaseApp)._addOrOverwriteComponent(
502502
mockAuthComponent
503503
);
504504
}
@@ -703,7 +703,7 @@ export function assertFails(pr: Promise<any>): any {
703703
errCode === 'permission-denied' ||
704704
errCode === 'permission_denied' ||
705705
errMessage.indexOf('permission_denied') >= 0 ||
706-
errMessage.indexOf('permission denied') >= 0 ||
706+
errMessage.indexOf('permission denied') >= 0 ||
707707
// Storage permission errors contain message: (storage/unauthorized)
708708
errMessage.indexOf('unauthorized') >= 0;
709709

0 commit comments

Comments
 (0)