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.

typeahead tests: Fill in emoji_code consistently on test Unicode emoji.

Greg Priceba1b55cd5966
diff --git a/frontend_tests/node_tests/typeahead.js b/frontend_tests/node_tests/typeahead.js
index 536ac611c4f..90820accd3a 100644
--- a/frontend_tests/node_tests/typeahead.js
+++ b/frontend_tests/node_tests/typeahead.js
@@ -7,13 +7,10 @@ const {run_test} = require("../zjsunit/test");
const typeahead = zrequire("../shared/js/typeahead");
-// The data structures here may be different for
-// different apps; the only key thing is we look
-// at emoji_name and we'll return the entire structures.
const emojis = [
{emoji_name: "japanese_post_office", url: "TBD"},
{emoji_name: "panda_face", emoji_code: "1f43c"},
- {emoji_name: "smile"},
+ {emoji_name: "smile", emoji_code: "1f642"},
{emoji_name: "tada", random_field: "whatever"},
];