2023-12-19 17:41:30 +00:00
|
|
|
(ns legacy.status-im.multiaccounts.model-test
|
2023-10-16 22:03:18 +00:00
|
|
|
(:require
|
|
|
|
[cljs.test :refer-macros [deftest is testing]]
|
2023-12-19 17:41:30 +00:00
|
|
|
[legacy.status-im.multiaccounts.model :as multiaccounts.model]))
|
2019-07-03 14:29:01 +00:00
|
|
|
|
|
|
|
(deftest logged-in-test
|
|
|
|
(testing "multiaccount is defined"
|
2023-06-28 11:48:34 +00:00
|
|
|
(is (multiaccounts.model/logged-in? {:profile/profile {}})))
|
2019-07-03 14:29:01 +00:00
|
|
|
(testing "multiaccount is not there"
|
2023-04-06 16:59:14 +00:00
|
|
|
(is (not (multiaccounts.model/logged-in? {})))))
|