@@ -237,20 +237,6 @@ const TEST_ADDRESS_3 = '0xeb9e64b93097bc15f01f13eae97015c57ab64823';
237
237
const TEST_SEED_ALT =
238
238
'setup olympic issue mobile velvet surge alcohol burger horse view reopen gentle' ;
239
239
const TEST_ADDRESS_ALT = '0xc42edfcc21ed14dda456aa0756c153f7985d8813' ;
240
- const TEST_INTERNAL_ACCOUNT = {
241
- id : '2d47e693-26c2-47cb-b374-6151199bbe3f' ,
242
- address : '0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc' ,
243
- metadata : {
244
- name : 'Account 1' ,
245
- keyring : {
246
- type : 'HD Key Tree' ,
247
- } ,
248
- lastSelected : 0 ,
249
- } ,
250
- options : { } ,
251
- methods : ETH_EOA_METHODS ,
252
- type : EthAccountType . Eoa ,
253
- } ;
254
240
255
241
const ALT_MAINNET_RPC_URL = 'http://localhost:8545' ;
256
242
const POLYGON_RPC_URL = 'https://polygon.llamarpc.com' ;
@@ -3584,36 +3570,6 @@ describe('MetaMaskController', () => {
3584
3570
} ) ;
3585
3571
} ) ;
3586
3572
3587
- describe ( 'incoming transactions' , ( ) => {
3588
- it ( 'starts incoming transaction polling if useExternalServices is enabled for that chainId' , async ( ) => {
3589
- expect (
3590
- TransactionController . prototype . startIncomingTransactionPolling ,
3591
- ) . not . toHaveBeenCalled ( ) ;
3592
-
3593
- await simulatePreferencesChange ( {
3594
- useExternalServices : true ,
3595
- } ) ;
3596
-
3597
- expect (
3598
- TransactionController . prototype . startIncomingTransactionPolling ,
3599
- ) . toHaveBeenCalledTimes ( 1 ) ;
3600
- } ) ;
3601
-
3602
- it ( 'stops incoming transaction polling if useExternalServices is disabled for that chainId' , async ( ) => {
3603
- expect (
3604
- TransactionController . prototype . stopIncomingTransactionPolling ,
3605
- ) . not . toHaveBeenCalled ( ) ;
3606
-
3607
- await simulatePreferencesChange ( {
3608
- useExternalServices : false ,
3609
- } ) ;
3610
-
3611
- expect (
3612
- TransactionController . prototype . stopIncomingTransactionPolling ,
3613
- ) . toHaveBeenCalledTimes ( 1 ) ;
3614
- } ) ;
3615
- } ) ;
3616
-
3617
3573
describe ( 'MultichainRatesController start/stop' , ( ) => {
3618
3574
const mockEvmAccount = createMockInternalAccount ( ) ;
3619
3575
const mockNonEvmAccount = {
0 commit comments