Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zjquery: Remove bogus after/before functions.
Steve Howell5caee967d311
diff --git a/frontend_tests/node_tests/stream_edit.js b/frontend_tests/node_tests/stream_edit.jsindex 538f58c6449..ce2ece29ecc 100644--- a/frontend_tests/node_tests/stream_edit.js+++ b/frontend_tests/node_tests/stream_edit.js@@ -102,6 +102,8 @@ test_ui("subscriber_pills", () => {const subscriptions_table_selector = "#subscriptions_table";const input_field_stub = $.create(".input");+ input_field_stub.before = () => {};+const sub_settings_selector = `#subscription_overlay .subscription_settings[data-stream-id='${CSS.escape(denmark.stream_id,)}']`;diff --git a/frontend_tests/zjsunit/zjquery.js b/frontend_tests/zjsunit/zjquery.jsindex 3e5eb03a6f5..f93d993abce 100644--- a/frontend_tests/zjsunit/zjquery.js+++ b/frontend_tests/zjsunit/zjquery.js@@ -537,13 +537,6 @@ function make_zjquery() {zjquery.Event = Event;- fn.after = function (s) {- return s;- };- fn.before = function (s) {- return s;- };-fn.popover = () => {throw new Error(`Do not try to test $.fn.popover code unless