Skip to content

Commit b610f16

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent 93d941e commit b610f16

File tree

4 files changed

+28
-25
lines changed

4 files changed

+28
-25
lines changed

packages-exp/auth-exp/src/core/providers/index.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@
1919
* Supported providers
2020
*/
2121
export enum ProviderId {
22-
ANONYMOUS = 'anonymous',
23-
CUSTOM = 'custom',
24-
FACEBOOK = 'facebook.com',
25-
FIREBASE = 'firebase',
26-
GITHUB = 'github.com',
27-
GOOGLE = 'google.com',
28-
PASSWORD = 'password',
29-
PHONE = 'phone',
30-
TWITTER = 'twitter.com'
31-
}
32-
22+
ANONYMOUS = 'anonymous',
23+
CUSTOM = 'custom',
24+
FACEBOOK = 'facebook.com',
25+
FIREBASE = 'firebase',
26+
GITHUB = 'github.com',
27+
GOOGLE = 'google.com',
28+
PASSWORD = 'password',
29+
PHONE = 'phone',
30+
TWITTER = 'twitter.com'
31+
}

packages-exp/auth-exp/src/model/auth.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ export interface Config {
2727
export interface Auth {
2828
readonly name: AppName;
2929
readonly config: Config;
30-
}
30+
}

packages-exp/auth-exp/src/model/user.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
*/
1717

1818
export interface UserInfo {
19-
readonly uid: string;
19+
readonly uid: string;
2020
}
2121

2222
export interface UserParameters {
23-
uid: string;
23+
uid: string;
2424
}
2525

2626
export class User implements UserInfo {
2727
uid: string;
28-
28+
2929
constructor(params: UserParameters) {
30-
this.uid = params.uid;
31-
}
32-
}
30+
this.uid = params.uid;
31+
}
32+
}

packages-exp/auth-exp/test/core/errors.test.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@
1616
*/
1717

1818
import { expect } from 'chai';
19-
import { AUTH_ERROR_FACTORY, AuthErrorCode } from "../../src/core/errors";
19+
import { AUTH_ERROR_FACTORY, AuthErrorCode } from '../../src/core/errors';
2020

2121
describe('AUTH_ERROR_FACTORY', () => {
22-
it('should create an Auth namespaced FirebaseError', () => {
23-
const error = AUTH_ERROR_FACTORY.create(AuthErrorCode.INTERNAL_ERROR, { appName: 'my-app' });
24-
expect(error.code).to.eq('auth/internal-error');
25-
expect(error.message).to.eq('Firebase: An internal AuthError has occurred. (auth/internal-error).');
26-
expect(error.name).to.eq('FirebaseError');
22+
it('should create an Auth namespaced FirebaseError', () => {
23+
const error = AUTH_ERROR_FACTORY.create(AuthErrorCode.INTERNAL_ERROR, {
24+
appName: 'my-app'
2725
});
28-
});
26+
expect(error.code).to.eq('auth/internal-error');
27+
expect(error.message).to.eq(
28+
'Firebase: An internal AuthError has occurred. (auth/internal-error).'
29+
);
30+
expect(error.name).to.eq('FirebaseError');
31+
});
32+
});

0 commit comments

Comments
 (0)