Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
casper_tests: Replace const with var.
Anders Kaseorg39c3a02736a1
diff --git a/frontend_tests/casper_lib/common.js b/frontend_tests/casper_lib/common.jsindex 96129f9787f..62b9c0cd522 100644--- a/frontend_tests/casper_lib/common.js+++ b/frontend_tests/casper_lib/common.js@@ -222,7 +222,7 @@ exports.wait_for_message_fully_processed = function (content) {- does it look to have beenre-rendered based on server info?*/- const last_msg = current_msg_list.last();+ var last_msg = current_msg_list.last();if (last_msg.raw_content !== content) {return false;diff --git a/frontend_tests/casper_tests/05-subscriptions.js b/frontend_tests/casper_tests/05-subscriptions.jsindex 6fc9ce486f5..f30847a1ad8 100644--- a/frontend_tests/casper_tests/05-subscriptions.js+++ b/frontend_tests/casper_tests/05-subscriptions.js@@ -1,7 +1,7 @@var common = require("../casper_lib/common.js");function stream_checkbox(stream_name) {- const stream_id = common.get_stream_id(stream_name);+ var stream_id = common.get_stream_id(stream_name);return '#stream-checkboxes [data-stream-id="' + stream_id + '"]';}