From 52e9c4bc6a82076d310bc0fe461ffdd74b52f3ca Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 30 Nov 2020 17:58:04 -0800 Subject: [PATCH] node_tests: Remove unused blueimp-md5 stubs. Signed-off-by: Anders Kaseorg --- frontend_tests/node_tests/composebox_typeahead.js | 1 - frontend_tests/node_tests/typeahead_helper.js | 1 - frontend_tests/node_tests/user_pill.js | 1 - 3 files changed, 3 deletions(-) diff --git a/frontend_tests/node_tests/composebox_typeahead.js b/frontend_tests/node_tests/composebox_typeahead.js index 52e84ff3cb..7b23251cb4 100644 --- a/frontend_tests/node_tests/composebox_typeahead.js +++ b/frontend_tests/node_tests/composebox_typeahead.js @@ -21,7 +21,6 @@ zrequire("composebox_typeahead"); zrequire("recent_senders"); zrequire("settings_org"); const settings_config = zrequire("settings_config"); -set_global("md5", (s) => "md5-" + s); // To be eliminated in next commit: stream_data.update_calculated_fields = () => {}; diff --git a/frontend_tests/node_tests/typeahead_helper.js b/frontend_tests/node_tests/typeahead_helper.js index 63efc22ad1..a771d768bc 100644 --- a/frontend_tests/node_tests/typeahead_helper.js +++ b/frontend_tests/node_tests/typeahead_helper.js @@ -7,7 +7,6 @@ const {set_global, zrequire} = require("../zjsunit/namespace"); const {run_test} = require("../zjsunit/test"); set_global("page_params", {realm_is_zephyr_mirror_realm: false}); -set_global("md5", (s) => "md5-" + s); const settings_config = zrequire("settings_config"); const pm_conversations = zrequire("pm_conversations"); diff --git a/frontend_tests/node_tests/user_pill.js b/frontend_tests/node_tests/user_pill.js index 0650fa7c99..d0d1f61eb2 100644 --- a/frontend_tests/node_tests/user_pill.js +++ b/frontend_tests/node_tests/user_pill.js @@ -6,7 +6,6 @@ const {set_global, zrequire} = require("../zjsunit/namespace"); const {run_test} = require("../zjsunit/test"); const people = zrequire("people"); -set_global("md5", (s) => "md5-" + s); zrequire("user_pill"); zrequire("pill_typeahead");