From 3054f579216a431f1795cdd46cf315d73af34675 Mon Sep 17 00:00:00 2001 From: Omar Basem Date: Fri, 17 May 2024 22:03:41 +0400 Subject: [PATCH] lint --- .../contexts/wallet/common/utils/networks_test.cljs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/status_im/contexts/wallet/common/utils/networks_test.cljs b/src/status_im/contexts/wallet/common/utils/networks_test.cljs index 2c034801924..b39859d9028 100644 --- a/src/status_im/contexts/wallet/common/utils/networks_test.cljs +++ b/src/status_im/contexts/wallet/common/utils/networks_test.cljs @@ -25,24 +25,24 @@ (testing "network-preference-prefix->network-names function" (is (= (utils/network-preference-prefix->network-names "eth") (seq [:mainnet]))) - (is (= (utils/network-preference-prefix->network-names "eth:opt") + (is (= (utils/network-preference-prefix->network-names "eth:oeth") (seq [:mainnet :optimism]))) - (is (= (utils/network-preference-prefix->network-names "eth:opt:arb1") + (is (= (utils/network-preference-prefix->network-names "eth:oeth:arb1") (seq [:mainnet :optimism :arbitrum]))))) (deftest short-names->network-preference-prefix-test (are [expected short-names] (= expected (utils/short-names->network-preference-prefix short-names)) "eth:" ["eth"] - "eth:opt:" ["eth" "opt"] - "eth:opt:arb1:" ["eth" "opt" "arb1"])) + "eth:oeth:" ["eth" "oeth"] + "eth:oeth:arb1:" ["eth" "oeth" "arb1"])) (deftest network-preference-prefix->network-names-test (are [expected short-names] (= expected (utils/network-preference-prefix->network-names short-names)) (seq [:mainnet]) "eth" - (seq [:mainnet :optimism]) "eth:opt" - (seq [:mainnet :optimism :arbitrum]) "eth:opt:arb1")) + (seq [:mainnet :optimism]) "eth:oeth" + (seq [:mainnet :optimism :arbitrum]) "eth:oeth:arb1")) (deftest test-network-ids->formatted-text (testing "Empty network-ids should return an empty string"