mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
reformat test namespaces
This commit is contained in:
parent
0082f5dd95
commit
6e34ede299
@ -432,8 +432,6 @@
|
|||||||
(rf/dispatch [:remove-contact-from-group "browse" new-group-id])
|
(rf/dispatch [:remove-contact-from-group "browse" new-group-id])
|
||||||
|
|
||||||
(is (= groups-with-new-group2 @contact-groups)))
|
(is (= groups-with-new-group2 @contact-groups)))
|
||||||
|
|
||||||
|
|
||||||
(testing ":add-contacts-to-group event"
|
(testing ":add-contacts-to-group event"
|
||||||
|
|
||||||
(rf/dispatch [:add-contacts-to-group new-group-id ["browse"]])
|
(rf/dispatch [:add-contacts-to-group new-group-id ["browse"]])
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
:signing-phrase "baby atom limo"
|
:signing-phrase "baby atom limo"
|
||||||
:public-key "0x04f5722fba79eb36d73263417531007f43d13af76c6233573a8e3e60f667710611feba0785d751b50609bfc0b7cef35448875c5392c0a91948c95798a0ce600847"})
|
:public-key "0x04f5722fba79eb36d73263417531007f43d13af76c6233573a8e3e60f667710611feba0785d751b50609bfc0b7cef35448875c5392c0a91948c95798a0ce600847"})
|
||||||
|
|
||||||
|
|
||||||
(defn test-fixtures []
|
(defn test-fixtures []
|
||||||
(rf/reg-fx ::events/init-store #())
|
(rf/reg-fx ::events/init-store #())
|
||||||
(rf/reg-fx ::account-events/save-account #()))
|
(rf/reg-fx ::account-events/save-account #()))
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
[status-im.transport.utils :as utils]
|
[status-im.transport.utils :as utils]
|
||||||
[cljs.test :refer-macros [deftest is testing]]))
|
[cljs.test :refer-macros [deftest is testing]]))
|
||||||
|
|
||||||
|
|
||||||
(def enode "enode://08d8eb6177b187049f6c97ed3f6c74fbbefb94c7ad10bafcaf4b65ce89c314dcfee0a8bc4e7a5b824dfa08b45b360cc78f34f0aff981f8386caa07652d2e601b@163.172.177.138:40404")
|
(def enode "enode://08d8eb6177b187049f6c97ed3f6c74fbbefb94c7ad10bafcaf4b65ce89c314dcfee0a8bc4e7a5b824dfa08b45b360cc78f34f0aff981f8386caa07652d2e601b@163.172.177.138:40404")
|
||||||
(def enode2 "enode://12d8eb6177b187049f6c97ed3f6c74fbbefb94c7ad10bafcaf4b65ce89c314dcfee0a8bc4e7a5b824dfa08b45b360cc78f34f0aff981f8386caa07652d2e601b@163.172.177.138:40404")
|
(def enode2 "enode://12d8eb6177b187049f6c97ed3f6c74fbbefb94c7ad10bafcaf4b65ce89c314dcfee0a8bc4e7a5b824dfa08b45b360cc78f34f0aff981f8386caa07652d2e601b@163.172.177.138:40404")
|
||||||
|
|
||||||
|
@ -61,7 +61,6 @@
|
|||||||
{:keys [address] :as params} (eip681/parse-uri uri)]
|
{:keys [address] :as params} (eip681/parse-uri uri)]
|
||||||
(is (= uri (eip681/generate-uri address (dissoc params :address))))))
|
(is (= uri (eip681/generate-uri address (dissoc params :address))))))
|
||||||
|
|
||||||
|
|
||||||
(deftest parse-eth-value
|
(deftest parse-eth-value
|
||||||
(is (= nil (eip681/parse-eth-value nil)))
|
(is (= nil (eip681/parse-eth-value nil)))
|
||||||
(is (= nil (eip681/parse-eth-value 1)))
|
(is (= nil (eip681/parse-eth-value 1)))
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
(true? first-parameter))}
|
(true? first-parameter))}
|
||||||
{:trigger [:key3 :p1 :p2 :p3]}]))
|
{:trigger [:key3 :p1 :p2 :p3]}]))
|
||||||
|
|
||||||
|
|
||||||
(deftest matching-event
|
(deftest matching-event
|
||||||
(is (empty? (mixpanel/matching-events {} [:non-existing] definitions)))
|
(is (empty? (mixpanel/matching-events {} [:non-existing] definitions)))
|
||||||
(is (= 1 (count (mixpanel/matching-events {} [:key] definitions))))
|
(is (= 1 (count (mixpanel/matching-events {} [:key] definitions))))
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
({:timestamp "1505764322000"}
|
({:timestamp "1505764322000"}
|
||||||
{:timestamp "1505750000000"})}))
|
{:timestamp "1505750000000"})}))
|
||||||
|
|
||||||
|
|
||||||
(deftest group-transactions-by-date
|
(deftest group-transactions-by-date
|
||||||
"Check if transactions are sorted by date"
|
"Check if transactions are sorted by date"
|
||||||
(is (= (transactions-subs/group-transactions-by-date transactions)
|
(is (= (transactions-subs/group-transactions-by-date transactions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user