Skip to content

Commit c027ff6

Browse files
committed
test(wallet): remove obsolete scan button visibility test for account menu
1 parent 28feee7 commit c027ff6

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

app/components/Views/Wallet/Wallet.view.test.tsx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,28 +45,6 @@ describeForPlatforms('Wallet', () => {
4545
).toBeOnTheScreen();
4646
});
4747

48-
it('scan button is not rendered when account menu is enabled', () => {
49-
const { queryByTestId } = renderWalletView({
50-
overrides: {
51-
settings: {
52-
basicFunctionalityEnabled: true,
53-
},
54-
engine: {
55-
backgroundState: {
56-
MultichainNetworkController: {
57-
isEvmSelected: true,
58-
},
59-
RewardsController: {
60-
activeAccount: null,
61-
},
62-
},
63-
},
64-
} as unknown as Record<string, unknown>,
65-
});
66-
67-
expect(queryByTestId(WalletViewSelectorsIDs.WALLET_SCAN_BUTTON)).toBeNull();
68-
});
69-
7048
it('navigates to Settings when hamburger menu button is pressed', async () => {
7149
const { getByTestId, findByTestId } = renderWalletViewWithRoutes({
7250
extraRoutes: [

0 commit comments

Comments
 (0)