Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
node_tests: Use assert.equal.
Anders Kaseorg40880aa49658
diff --git a/frontend_tests/node_tests/activity.js b/frontend_tests/node_tests/activity.jsindex 5d195bd8d17..b1751147e6f 100644--- a/frontend_tests/node_tests/activity.js+++ b/frontend_tests/node_tests/activity.js@@ -488,7 +488,7 @@ test("redraw_muted_user", () => {};activity.redraw_user(mark.user_id);- assert(appended_html === undefined);+ assert.equal(appended_html, undefined);});test("update_presence_info", (override) => {diff --git a/frontend_tests/node_tests/compose_video.js b/frontend_tests/node_tests/compose_video.jsindex c0a0c9108d7..dab406ceb9f 100644--- a/frontend_tests/node_tests/compose_video.js+++ b/frontend_tests/node_tests/compose_video.js@@ -213,7 +213,7 @@ test("videos", (override) => {realm_available_video_chat_providers.big_blue_button.id;channel.get = (options) => {- assert(options.url === "/json/calls/bigbluebutton/create");+ assert.equal(options.url, "/json/calls/bigbluebutton/create");options.success({url: "/calls/bigbluebutton/join?meeting_id=%22zulip-1%22&password=%22AAAAAAAAAA%22&checksum=%2232702220bff2a22a44aee72e96cfdb4c4091752e%22",});diff --git a/frontend_tests/node_tests/message_fetch.js b/frontend_tests/node_tests/message_fetch.jsindex 8cac881231c..4385b978354 100644--- a/frontend_tests/node_tests/message_fetch.js+++ b/frontend_tests/node_tests/message_fetch.js@@ -106,7 +106,7 @@ function config_fake_channel(conf) {throw new Error("only use this for one call");}if (!conf.can_call_again) {- assert(self.success === undefined);+ assert.equal(self.success, undefined);}assert.deepEqual(opts.data, conf.expected_opts_data);self.success = opts.success;diff --git a/frontend_tests/zjsunit/zjquery.js b/frontend_tests/zjsunit/zjquery.jsindex b9914673b09..e9c494e27b3 100644--- a/frontend_tests/zjsunit/zjquery.js+++ b/frontend_tests/zjsunit/zjquery.js@@ -516,7 +516,7 @@ function make_zjquery() {// in turn return stubs). The convention is that// they provide a to_$ attribute.if (arg.to_$) {- assert(typeof arg.to_$ === "function");+ assert.equal(typeof arg.to_$, "function");return arg.to_$();}