mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 22:48:16 +00:00
node tests: Directly test simple stream_pill helpers.
We also sort the user_ids to be deterministic.
This commit is contained in:
@@ -54,6 +54,7 @@ export function get_user_ids(pill_widget) {
|
||||
user_ids = Array.from(new Set(user_ids));
|
||||
|
||||
user_ids = user_ids.filter(Boolean);
|
||||
user_ids.sort((a, b) => a - b);
|
||||
return user_ids;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user