Skip to content

Commit

Permalink
Fix confirmations test
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Dec 2, 2024
1 parent 2785187 commit 46893f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/data/mock-state.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"url": "https://metamask.github.io/test-dapp/"
},
"appState": {
"isAccountMenuOpen": false,
"networkDropdownOpen": false,
"importNftsModal": {
"open": false
Expand All @@ -28,7 +29,8 @@
}
},
"warning": null,
"customTokenAmount": "10"
"customTokenAmount": "10",
"confirmationExchangeRates": {}
},
"confirmAlerts": {
"alerts": [],
Expand Down Expand Up @@ -390,7 +392,6 @@
"tokenNetworkFilter": {}
},
"ensResolutionsByAddress": {},
"isAccountMenuOpen": false,
"isUnlocked": true,
"alertEnabledness": {
"unconnectedAccount": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ describe('remove-snap-account confirmation', () => {
},
},
},
appState: {
...mockBaseStore.appState,
},
activeTab: {
origin: 'https://uniswap.org/',
},
Expand Down

0 comments on commit 46893f1

Please sign in to comment.