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: Avoid use of stub_selector.

Steve Howellaed5b655258a
diff --git a/frontend_tests/node_tests/subs.js b/frontend_tests/node_tests/subs.js
index da6da304526..4d3cbba97e9 100644
--- a/frontend_tests/node_tests/subs.js
+++ b/frontend_tests/node_tests/subs.js
@@ -108,7 +108,7 @@ run_test("redraw_left_panel", (override) => {
};
}
- $.stub_selector("#subscriptions_table .stream-row", sub_stubs);
+ $.create("#subscriptions_table .stream-row", {children: sub_stubs});
let ui_called = false;
ui.reset_scrollbar = function (elem) {