Skip to content

Commit ac0b1ca

Browse files
committed
PR feedback
1 parent f88901c commit ac0b1ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages-exp/auth-exp/src/core/strategies/email_and_password.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ describe('core/strategies/email_and_password/createUserWithEmailAndPassword', ()
354354
'some-email',
355355
'some-password'
356356
);
357-
expect(credential?.providerId).to.eq(ProviderId.PASSWORD);
358-
expect(credential?.signInMethod).to.eq(SignInMethod.EMAIL_PASSWORD);
357+
expect(credential!.providerId).to.eq(ProviderId.PASSWORD);
358+
expect(credential!.signInMethod).to.eq(SignInMethod.EMAIL_PASSWORD);
359359
expect(operationType).to.eq(OperationType.SIGN_IN);
360360
expect(user.uid).to.eq(serverUser.localId);
361361
expect(user.isAnonymous).to.be.false;
@@ -389,8 +389,8 @@ describe('core/strategies/email_and_password/signInWithEmailAndPassword', () =>
389389
user,
390390
operationType
391391
} = await signInWithEmailAndPassword(auth, 'some-email', 'some-password');
392-
expect(credential?.providerId).to.eq(ProviderId.PASSWORD);
393-
expect(credential?.signInMethod).to.eq(SignInMethod.EMAIL_PASSWORD);
392+
expect(credential!.providerId).to.eq(ProviderId.PASSWORD);
393+
expect(credential!.signInMethod).to.eq(SignInMethod.EMAIL_PASSWORD);
394394
expect(operationType).to.eq(OperationType.SIGN_IN);
395395
expect(user.uid).to.eq(serverUser.localId);
396396
expect(user.isAnonymous).to.be.false;

0 commit comments

Comments
 (0)