Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
node_tests: Update alert words tests to handle a corner case.
Riken Shahbabe24fa0215
diff --git a/frontend_tests/node_tests/alert_words.js b/frontend_tests/node_tests/alert_words.jsindex dbd08c725bd..8128a1424c5 100644--- a/frontend_tests/node_tests/alert_words.js+++ b/frontend_tests/node_tests/alert_words.js@@ -48,7 +48,7 @@ const alertwordboundary_message = {};const multialert_message = {sender_email: "[email protected]",- content: "<p>another alertthreemessage alertone and then alerttwo</p>",+ content: "<p>another emoji alertone and then alerttwo</p>",alerted: true,};const unsafe_word_message = {@@ -128,7 +128,7 @@ run_test("munging", () => {assert_transform(multialert_message,- "<p>another alertthreemessage <span class='alert-word'>alertone</span> and then <span class='alert-word'>alerttwo</span></p>",+ "<p>another <span class='alert-word'>emoji</span> <span class='alert-word'>alertone</span> and then <span class='alert-word'>alerttwo</span></p>",);assert_transform(