Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

node tests: Test people.get_users_from_ids.

Steve Howelld994dcbfb236
diff --git a/frontend_tests/node_tests/people.js b/frontend_tests/node_tests/people.js
index a8f6c67347a..65416656a39 100644
--- a/frontend_tests/node_tests/people.js
+++ b/frontend_tests/node_tests/people.js
@@ -370,6 +370,9 @@ test_people("basics", () => {
active_humans.sort((p) => p.user_id),
[me.user_id, isaac.user_id],
);
+
+ // get_users_from_ids
+ assert.deepEqual(people.get_users_from_ids([me.user_id, isaac.user_id]), [me, isaac]);
});
test_people("sort_but_pin_current_user_on_top with me", () => {