Skip to content

Formatting fixes for RUT #5283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/rules-unit-testing/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export type FirebaseEmulatorOptions = {

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

function createUnsecuredJwt(token: TokenOptions, projectId?: string): string {
Expand Down Expand Up @@ -498,7 +498,7 @@ function initializeApp(
ComponentType.PRIVATE
);

((app as unknown) as _FirebaseApp)._addOrOverwriteComponent(
(app as unknown as _FirebaseApp)._addOrOverwriteComponent(
mockAuthComponent
);
}
Expand Down Expand Up @@ -703,7 +703,7 @@ export function assertFails(pr: Promise<any>): any {
errCode === 'permission-denied' ||
errCode === 'permission_denied' ||
errMessage.indexOf('permission_denied') >= 0 ||
errMessage.indexOf('permission denied') >= 0 ||
errMessage.indexOf('permission denied') >= 0 ||
// Storage permission errors contain message: (storage/unauthorized)
errMessage.indexOf('unauthorized') >= 0;

Expand Down