Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead tests: Add more Unicode emoji to the test data.
Greg Price38eb3f57644f
diff --git a/frontend_tests/node_tests/typeahead.js b/frontend_tests/node_tests/typeahead.jsindex 0d34a8153cb..2a2279c9921 100644--- a/frontend_tests/node_tests/typeahead.js+++ b/frontend_tests/node_tests/typeahead.js@@ -10,6 +10,13 @@ const typeahead = zrequire("../shared/js/typeahead");const unicode_emojis = [["1f43c", "panda_face"],["1f642", "smile"],+ ["1f604", "big_smile"],+ ["1f368", "ice_cream"],+ ["1f366", "soft_ice_cream"],+ ["1f6a5", "horizontal_traffic_light"],+ ["1f6a6", "traffic_light"],+ ["1f537", "large_blue_diamond"],+ ["1f539", "small_blue_diamond"],];const emojis = [@@ -39,8 +46,8 @@ run_test("get_emoji_matcher", () => {assert_matches("da", ["panda_face", "tada"]);assert_matches("panda ", ["panda_face"]);- assert_matches("smil", ["smile"]);- assert_matches("mile", ["smile"]);+ assert_matches("smil", ["big_smile", "smile"]);+ assert_matches("mile", ["big_smile", "smile"]);assert_matches("japanese_post_", ["japanese_post_office"]);assert_matches("japanese post ", ["japanese_post_office"]);