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.

minor: Add constant for alice_user_id.

Steve Howell737f60e2b796
diff --git a/frontend_tests/node_tests/reactions.js b/frontend_tests/node_tests/reactions.js
index 7b727dc7b37..265c12ae069 100644
--- a/frontend_tests/node_tests/reactions.js
+++ b/frontend_tests/node_tests/reactions.js
@@ -16,8 +16,9 @@ const emoji = zrequire("emoji", "shared/js/emoji");
const people = zrequire("people");
const reactions = zrequire("reactions");
+const alice_user_id = 5;
set_global("page_params", {
- user_id: 5,
+ user_id: alice_user_id,
});
const emoji_params = {
@@ -53,7 +54,7 @@ const emoji_picker = set_global("emoji_picker", {
const alice = {
- user_id: 5,
+ user_id: alice_user_id,
full_name: "Alice",
};
const bob = {