tests: Fix override of immutable ES module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-08 02:53:28 -08:00 committed by Tim Abbott
parent df6bcf6d3d
commit a208870b59
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,7 @@ const _document = {
const channel = mock_esm("../src/channel");
const electron_bridge = mock_esm("../src/electron_bridge");
const keydown_util = mock_esm("../src/keydown_util", {handle() {}});
const padded_widget = mock_esm("../src/padded_widget");
const pm_list = mock_esm("../src/pm_list");
const popovers = mock_esm("../src/popovers");
@ -38,7 +39,6 @@ const watchdog = mock_esm("../src/watchdog");
set_global("document", _document);
const direct_message_group_data = zrequire("direct_message_group_data");
const keydown_util = zrequire("keydown_util");
const muted_users = zrequire("muted_users");
const presence = zrequire("presence");
const people = zrequire("people");