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: Add explicit stub_templates calls.

Steve Howell5192dab31dd6
diff --git a/frontend_tests/node_tests/recent_topics.js b/frontend_tests/node_tests/recent_topics.js
index b9e111bec68..8264ed4ff24 100644
--- a/frontend_tests/node_tests/recent_topics.js
+++ b/frontend_tests/node_tests/recent_topics.js
@@ -558,6 +558,8 @@ stub_templates(() => "<recent_topics table stub>");
test("basic assertions", (override) => {
rt.clear_for_tests();
+ stub_templates(() => "<recent_topics table stub>");
+
stub_out_filter_buttons();
override(rt, "is_visible", () => true);
rt.set_default_focus();
@@ -638,6 +640,8 @@ test("basic assertions", (override) => {
});
test("test_reify_local_echo_message", (override) => {
+ stub_templates(() => "<recent_topics table stub>");
+
rt.clear_for_tests();
stub_out_filter_buttons();
override(rt, "is_visible", () => true);