Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

node_tests: Don’t use this in __esModule mock.

Anders Kaseorg19e4328a7b9f
diff --git a/frontend_tests/node_tests/narrow_activate.js b/frontend_tests/node_tests/narrow_activate.js
index 1192ba8cece..39407b9f7c2 100644
--- a/frontend_tests/node_tests/narrow_activate.js
+++ b/frontend_tests/node_tests/narrow_activate.js
@@ -24,7 +24,7 @@ const message_fetch = {__esModule: true};
rewiremock("../../static/js/message_fetch").with(message_fetch);
const message_list = set_global("message_list", {
set_narrowed(value) {
- this.narrowed = value;
+ message_list.narrowed = value;
},
});
const message_scroll = {__esModule: true};