diff --git a/frontend_tests/node_tests/subs.js b/frontend_tests/node_tests/subs.js index da6da30452..4d3cbba97e 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) {