@@ -228,12 +228,11 @@ describe('Testing signin Flow', () => {
228
228
afterEach ( mockFetch . tearDown ) ;
229
229
230
230
it ( 'should finalize mfa signin for totp' , async ( ) => {
231
-
232
- totpSignInResponse = {
231
+ totpSignInResponse = {
233
232
verificationCode : '123456' ,
234
233
idToken : 'final-id-token' ,
235
234
refreshToken : 'refresh-token'
236
- } as any ;
235
+ } as any ;
237
236
assertion = TotpMultiFactorGenerator . assertionForSignIn (
238
237
'enrollment-id' ,
239
238
'123456'
@@ -259,11 +258,11 @@ describe('Testing signin Flow', () => {
259
258
260
259
it ( 'should throw Firebase Error if enrollment-id is undefined' , async ( ) => {
261
260
let _response : FinalizeMfaResponse ;
262
- totpSignInResponse = {
261
+ totpSignInResponse = {
263
262
verificationCode : '123456' ,
264
263
idToken : 'final-id-token' ,
265
264
refreshToken : 'refresh-token'
266
- } as any ;
265
+ } as any ;
267
266
assertion = TotpMultiFactorGenerator . assertionForSignIn (
268
267
undefined as any ,
269
268
'123456'
@@ -279,11 +278,11 @@ describe('Testing signin Flow', () => {
279
278
280
279
it ( 'should throw Firebase Error if otp is undefined' , async ( ) => {
281
280
let _response : FinalizeMfaResponse ;
282
- totpSignInResponse = {
281
+ totpSignInResponse = {
283
282
verificationCode : '123456' ,
284
283
idToken : 'final-id-token' ,
285
284
refreshToken : 'refresh-token'
286
- } as any ;
285
+ } as any ;
287
286
assertion = TotpMultiFactorGenerator . assertionForSignIn (
288
287
'enrollment-id' ,
289
288
undefined as any
0 commit comments