Skip to content

Commit

Permalink
Fxes for events_test.cljs
Browse files Browse the repository at this point in the history
  • Loading branch information
alwx committed Nov 6, 2024
1 parent 78f1308 commit 039ac63
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/status_im/contexts/wallet/send/events_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,9 @@
(testing "testing when collectible balance is more than 1"
(let [collectible (collectible-with-balance 2)
testnet-enabled? false
goerli-enabled? false
receiver-networks (network-utils/resolve-receiver-networks
{:prefix prefix
:testnet-enabled? testnet-enabled?
:goerli-enabled? goerli-enabled?})
:testnet-enabled? testnet-enabled?})
expected-result {:db {:wallet {:ui {:send {:other-props :value
:recipient recipient
:to-address to-address
Expand All @@ -382,8 +380,7 @@
{:wallet {:ui {:send {:other-props :value
:tx-type tx-type
:collectible collectible}}}
:profile/profile {:test-networks-enabled? testnet-enabled?
:is-goerli-enabled? goerli-enabled?}})
:profile/profile {:test-networks-enabled? testnet-enabled?}})
(is (match? expected-result
(dispatch [event-id
{:address address
Expand Down Expand Up @@ -416,8 +413,7 @@
{:wallet {:ui {:send {:other-props :value
:tx-type tx-type
:collectible collectible}}}
:profile/profile {:test-networks-enabled? testnet-enabled?
:is-goerli-enabled? goerli-enabled?}})
:profile/profile {:test-networks-enabled? testnet-enabled?}})
(is (match? expected-result
(dispatch [event-id
{:address address
Expand Down

0 comments on commit 039ac63

Please sign in to comment.