Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Use existing zjquery parent method.
Anders Kaseorg3cac82a2a1f1
diff --git a/web/tests/reactions.test.cjs b/web/tests/reactions.test.cjsindex 51c19c21081..4d247b32c89 100644--- a/web/tests/reactions.test.cjs+++ b/web/tests/reactions.test.cjs@@ -1276,7 +1276,7 @@ test("remove_reaction_from_view (last person to react)", ({override_rewire}) =>const $reaction_container = $.create("stub-reaction-container");const $our_reaction = stub_reaction(message_id, "unicode_emoji,1f3b1");- $our_reaction.parent = () => $reaction_container;+ $our_reaction.set_parent($reaction_container);let removed;$our_reaction.parent().remove = () => {