Skip to content

Commit

Permalink
fix: eth-overview test
Browse files Browse the repository at this point in the history
  • Loading branch information
montelaidev committed Aug 3, 2023
1 parent fbeda3c commit f3a17c5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
23 changes: 18 additions & 5 deletions ui/components/app/wallet-overview/eth-overview.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,25 @@ describe('EthOverview', () => {
const mockedStoreWithCustodyKeyring = {
metamask: {
...mockStore.metamask,
keyrings: [
{
type: 'Custody',
accounts: ['0x1'],
internalAccounts: {
...mockStore.metamask.internalAccounts,
accounts: {
...mockStore.metamask.internalAccounts.accounts,
[mockStore.metamask.internalAccounts.selectedAccount]: {
...mockStore.metamask.internalAccounts.accounts[
mockStore.metamask.internalAccounts.selectedAccount
],
metadata: {
...mockStore.metamask.internalAccounts.accounts[
mockStore.metamask.internalAccounts.selectedAccount
].metadata,
keyring: {
type: 'Custody',
},
},
},
},
],
},
},
};

Expand Down
1 change: 0 additions & 1 deletion ui/ducks/send/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
getCurrentChainId,
getGasPriceInHexWei,
getIsMainnet,
getTargetAccount,
getIsNonStandardEthChain,
checkNetworkAndAccountSupports1559,
getUseTokenDetection,
Expand Down

0 comments on commit f3a17c5

Please sign in to comment.