Remove test for join-existing-users-string (#14892)
This commit is contained in:
parent
612c17a8db
commit
7585767961
|
@ -1,29 +0,0 @@
|
||||||
(ns status-im2.contexts.communities.overview.utils-test
|
|
||||||
(:require [cljs.test :refer-macros [deftest is testing]]
|
|
||||||
[status-im2.contexts.communities.overview.utils :as u]))
|
|
||||||
|
|
||||||
(deftest open-activity-center-test
|
|
||||||
(testing "One user"
|
|
||||||
(let [users [{:full-name "Alicia K"}]]
|
|
||||||
|
|
||||||
(is (= "Join Alicia"
|
|
||||||
(u/join-existing-users-string users)))))
|
|
||||||
(testing "Two users"
|
|
||||||
(let [users [{:full-name "Alicia K"}
|
|
||||||
{:full-name "Marcus C"}]]
|
|
||||||
(is (= "Join Alicia and Marcus"
|
|
||||||
(u/join-existing-users-string users)))))
|
|
||||||
(testing "Three users"
|
|
||||||
(let [users [{:full-name "Alicia K"}
|
|
||||||
{:full-name "Marcus C"}
|
|
||||||
{:full-name "MNO PQR"}]]
|
|
||||||
(is (= "Join Alicia, Marcus and 1 more"
|
|
||||||
(u/join-existing-users-string users)))))
|
|
||||||
(testing "Four users"
|
|
||||||
(let [users [{:full-name "Alicia K"}
|
|
||||||
{:full-name "Marcus C"}
|
|
||||||
{:full-name "MNO PQR"}
|
|
||||||
{:full-name "STU VWX"}]]
|
|
||||||
|
|
||||||
(is (= "Join Alicia, Marcus and 2 more"
|
|
||||||
(u/join-existing-users-string users))))))
|
|
Loading…
Reference in New Issue