mirror of https://github.com/zulip/zulip.git
node_tests: Remove unnecessary zrequire calls for ES6 modules.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
4d6a017320
commit
76b6ab78d8
|
@ -9,7 +9,6 @@ const {make_zjquery} = require("../zjsunit/zjquery");
|
|||
const emoji = zrequire("emoji", "shared/js/emoji");
|
||||
const typeahead = zrequire("typeahead", "shared/js/typeahead");
|
||||
zrequire("compose_state");
|
||||
zrequire("pm_conversations");
|
||||
zrequire("templates");
|
||||
zrequire("typeahead_helper");
|
||||
const people = zrequire("people");
|
||||
|
|
|
@ -18,7 +18,6 @@ set_global("page_params", {});
|
|||
|
||||
zrequire("hash_util");
|
||||
zrequire("message_store");
|
||||
zrequire("people");
|
||||
zrequire("stream_data");
|
||||
zrequire("user_groups");
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ const {run_test} = require("../zjsunit/test");
|
|||
const {make_zjquery} = require("../zjsunit/zjquery");
|
||||
|
||||
const util = zrequire("util");
|
||||
zrequire("pm_conversations");
|
||||
const people = zrequire("people");
|
||||
zrequire("message_store");
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ set_global("navigator", _navigator);
|
|||
zrequire("alert_words");
|
||||
zrequire("muting");
|
||||
zrequire("stream_data");
|
||||
zrequire("people");
|
||||
zrequire("ui");
|
||||
zrequire("spoilers");
|
||||
spoilers.hide_spoilers_in_notification = () => {};
|
||||
|
|
|
@ -34,7 +34,6 @@ set_global("avatar", {});
|
|||
set_global("$", make_zjquery());
|
||||
|
||||
zrequire("bot_data");
|
||||
zrequire("people");
|
||||
|
||||
function ClipboardJS(sel) {
|
||||
assert.equal(sel, "#copy_zuliprc");
|
||||
|
|
|
@ -6,7 +6,6 @@ const {set_global, zrequire} = require("../zjsunit/namespace");
|
|||
const {run_test} = require("../zjsunit/test");
|
||||
|
||||
zrequire("typing");
|
||||
zrequire("people");
|
||||
zrequire("compose_pm_pill");
|
||||
const typing_status = zrequire("typing_status", "shared/js/typing_status");
|
||||
|
||||
|
|
|
@ -95,7 +95,6 @@ zrequire("overlays");
|
|||
zrequire("invite");
|
||||
zrequire("message_view_header");
|
||||
zrequire("narrow_state");
|
||||
zrequire("people");
|
||||
zrequire("presence");
|
||||
zrequire("search_pill_widget");
|
||||
zrequire("user_groups");
|
||||
|
@ -112,7 +111,6 @@ zrequire("tutorial");
|
|||
rewiremock.proxy(() => zrequire("notifications"), {
|
||||
"../../static/js/favicon": {},
|
||||
});
|
||||
zrequire("pm_conversations");
|
||||
zrequire("pm_list");
|
||||
zrequire("list_cursor");
|
||||
zrequire("keydown_util");
|
||||
|
|
Loading…
Reference in New Issue