Skip to content

Commit ba2d6f6

Browse files
committed
fixed error type
1 parent 23efb8f commit ba2d6f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/auth/test/integration/flows/totp.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe(' Integration tests: Mfa TOTP', () => {
140140
);
141141
console.log(totpVerificationCode);
142142
// auth/invalid-idToken
143-
await expect(mfaUser.enroll(multiFactorAssertion, displayName)).to.be.rejectedWith(FirebaseError, 'auth/invalid-id-token')
143+
await expect(mfaUser.enroll(multiFactorAssertion, displayName)).to.be.rejectedWith('auth/invalid-user-token')
144144

145145

146146
})

0 commit comments

Comments
 (0)