Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
node tests: Use override for current_msg_list.
Steve Howell157ab156e72b
diff --git a/frontend_tests/node_tests/compose_actions.js b/frontend_tests/node_tests/compose_actions.jsindex f7f66b4b450..060826baffe 100644--- a/frontend_tests/node_tests/compose_actions.js+++ b/frontend_tests/node_tests/compose_actions.js@@ -337,7 +337,7 @@ test("quote_and_reply", (override) => {success_function = opts.success;});- current_msg_list.selected_id = () => 100;+ override(current_msg_list, "selected_id", () => 100);override(compose_ui, "insert_syntax_and_focus", (syntax) => {assert.equal(syntax, "[Quoting…]\n");