Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typeahead: Improve tests for multi word match's highlighting.
N-Shar-madb86a2e79b46
diff --git a/web/tests/typeahead_helper.test.js b/web/tests/typeahead_helper.test.jsindex 4726e303bde..7f92f97a3fc 100644--- a/web/tests/typeahead_helper.test.js+++ b/web/tests/typeahead_helper.test.js@@ -650,8 +650,7 @@ test("test compare directly for direct message", () => {test("highlight_with_escaping", () => {function highlight(query, item) {- const regex = th.build_highlight_regex(query);- return th.highlight_with_escaping_and_regex(regex, item);+ return th.make_query_highlighter(query)(item);}let item = "Denmark";