@@ -353,7 +353,7 @@ describe('AppStateController', () => {
353
353
354
354
describe ( 'setFirstTimeUsedNetwork' , ( ) => {
355
355
it ( 'updates the array of the first time used networks' , ( ) => {
356
- const chainId : string = '0x1' ;
356
+ const chainId = '0x1' ;
357
357
358
358
appStateController . setFirstTimeUsedNetwork ( chainId ) ;
359
359
expect ( appStateController . store . getState ( ) . usedNetworks [ chainId ] ) . toBe (
@@ -364,11 +364,7 @@ describe('AppStateController', () => {
364
364
365
365
describe ( 'setLastInteractedConfirmationInfo' , ( ) => {
366
366
it ( 'sets information about last confirmation user has interacted with' , ( ) => {
367
- const lastInteractedConfirmationInfo : {
368
- id : string ;
369
- chainId : string ;
370
- timestamp : number ;
371
- } = {
367
+ const lastInteractedConfirmationInfo = {
372
368
id : '123' ,
373
369
chainId : '0x1' ,
374
370
timestamp : new Date ( ) . getTime ( ) ,
@@ -414,7 +410,7 @@ describe('AppStateController', () => {
414
410
'updateState' ,
415
411
) ;
416
412
417
- const mockParams : { url : string ; oldRefreshToken : string } = {
413
+ const mockParams = {
418
414
url : 'https://example.com' ,
419
415
oldRefreshToken : 'old' ,
420
416
} ;
@@ -436,7 +432,7 @@ describe('AppStateController', () => {
436
432
'updateState' ,
437
433
) ;
438
434
439
- const mockParams : { fromAddress : string ; custodyId : string } = {
435
+ const mockParams = {
440
436
fromAddress : '0x' ,
441
437
custodyId : 'custodyId' ,
442
438
} ;
@@ -458,7 +454,7 @@ describe('AppStateController', () => {
458
454
'updateState' ,
459
455
) ;
460
456
461
- const mockParams : string = 'some message' ;
457
+ const mockParams = 'some message' ;
462
458
463
459
appStateController . setNoteToTraderMessage ( mockParams ) ;
464
460
0 commit comments