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.

minor: Move narrow mock to be in lexical order.

Steve Howelld14441ffd3a0
diff --git a/frontend_tests/node_tests/recent_topics.js b/frontend_tests/node_tests/recent_topics.js
index 89d51f6777d..388785578f6 100644
--- a/frontend_tests/node_tests/recent_topics.js
+++ b/frontend_tests/node_tests/recent_topics.js
@@ -76,9 +76,6 @@ mock_esm("../../static/js/hash_util", {
by_stream_topic_uri: () => "https://www.example.com",
});
-mock_esm("../../static/js/narrow", {
- set_narrow_title: noop,
-});
mock_esm("../../static/js/message_list_data", {
MessageListData: class {},
});
@@ -96,6 +93,9 @@ mock_esm("../../static/js/muting", {
return false;
},
});
+mock_esm("../../static/js/narrow", {
+ set_narrow_title: noop,
+});
mock_esm("../../static/js/recent_senders", {
get_topic_recent_senders: () => [1, 2],
});