status-react/src/legacy/status_im/multiaccounts/model_test.cljs

11 lines
397 B
Plaintext
Raw Normal View History

2023-12-19 17:41:30 +00:00
(ns legacy.status-im.multiaccounts.model-test
(:require
[cljs.test :refer-macros [deftest is testing]]
2023-12-19 17:41:30 +00:00
[legacy.status-im.multiaccounts.model :as multiaccounts.model]))
(deftest logged-in-test
(testing "multiaccount is defined"
(is (multiaccounts.model/logged-in? {:profile/profile {}})))
(testing "multiaccount is not there"
(is (not (multiaccounts.model/logged-in? {})))))