Skip to content

Commit 3d48488

Browse files
committed
fixed formatting errors
1 parent 1fb62ae commit 3d48488

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/auth/src/api/authentication/email_and_password.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ describe('api/authentication/signInWithPassword', () => {
100100
expect(mock.calls[0].request).to.eql(request);
101101
});
102102

103-
it('should handle error for missing password', async () => {
103+
it('should handle errors for missing password', async () => {
104104
request.password = '';
105105
const mock = mockEndpoint(
106106
Endpoint.SIGN_IN_WITH_PASSWORD,
@@ -123,7 +123,7 @@ describe('api/authentication/signInWithPassword', () => {
123123
'Firebase: A non-empty password must be provided (auth/missing-password).'
124124
);
125125
expect(mock.calls[0].request).to.eql(request);
126-
})
126+
});
127127
});
128128

129129
describe('api/authentication/sendEmailVerification', () => {

packages/auth/src/core/errors.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,7 @@ function _debugErrorMap(): ErrorMap<AuthErrorCode> {
268268
'The request does not contain a valid nonce. This can occur if the ' +
269269
'SHA-256 hash of the provided raw nonce does not match the hashed nonce ' +
270270
'in the ID token payload.',
271-
[AuthErrorCode.MISSING_PASSWORD]:
272-
'A non-empty password must be provided',
271+
[AuthErrorCode.MISSING_PASSWORD]: 'A non-empty password must be provided',
273272
[AuthErrorCode.MISSING_MFA_INFO]:
274273
'No second factor identifier is provided.',
275274
[AuthErrorCode.MISSING_MFA_SESSION]:

0 commit comments

Comments
 (0)