mirror of
https://github.com/status-im/status-react.git
synced 2025-02-26 09:35:36 +00:00
[#21335] test: test match issue
This commit is contained in:
parent
ff9cbbe405
commit
9341d407f3
@ -41,7 +41,7 @@
|
|||||||
(reset! rf-db/app-db {:profile/profile {:test-networks-enabled? false}
|
(reset! rf-db/app-db {:profile/profile {:test-networks-enabled? false}
|
||||||
:wallet-connect/sessions [{:topic topic-1
|
:wallet-connect/sessions [{:topic topic-1
|
||||||
:chains ["eip155:1"]}]})
|
:chains ["eip155:1"]}]})
|
||||||
(is (match? nil
|
(is (match? {:db nil}
|
||||||
(dispatch [event-id
|
(dispatch [event-id
|
||||||
{:topic topic-2
|
{:topic topic-2
|
||||||
:chains ["eip155:1"]}])))))
|
:chains ["eip155:1"]}])))))
|
||||||
@ -51,7 +51,7 @@
|
|||||||
(reset! rf-db/app-db {:profile/profile {:test-networks-enabled? true}
|
(reset! rf-db/app-db {:profile/profile {:test-networks-enabled? true}
|
||||||
:wallet-connect/sessions [{:topic topic
|
:wallet-connect/sessions [{:topic topic
|
||||||
:chains ["eip155:1"]}]})
|
:chains ["eip155:1"]}]})
|
||||||
(is (match? nil
|
(is (match? {:db nil}
|
||||||
(dispatch [event-id
|
(dispatch [event-id
|
||||||
{:topic topic
|
{:topic topic
|
||||||
:chains ["eip155:11155111"]}]))))))
|
:chains ["eip155:11155111"]}]))))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user