diff --git a/frontend_tests/node_tests/filter.js b/frontend_tests/node_tests/filter.js index b1a15cb698..7ec41ee6dd 100644 --- a/frontend_tests/node_tests/filter.js +++ b/frontend_tests/node_tests/filter.js @@ -8,7 +8,6 @@ zrequire('Filter', 'js/filter'); set_global('message_store', {}); set_global('page_params', {}); -set_global('feature_flags', {}); const me = { email: 'me@example.com', diff --git a/frontend_tests/node_tests/general.js b/frontend_tests/node_tests/general.js index f4bbd4b123..d4b50b1576 100644 --- a/frontend_tests/node_tests/general.js +++ b/frontend_tests/node_tests/general.js @@ -493,7 +493,6 @@ run_test('insert_message', () => { */ set_global('channel', {}); -set_global('feature_flags', {}); set_global('home_msg_list', {}); set_global('message_list', {}); set_global('message_viewport', {}); diff --git a/frontend_tests/node_tests/markdown.js b/frontend_tests/node_tests/markdown.js index 4580d2502f..d234f68e4f 100644 --- a/frontend_tests/node_tests/markdown.js +++ b/frontend_tests/node_tests/markdown.js @@ -55,8 +55,6 @@ set_global('document', doc); set_global('$', global.make_zjquery()); -set_global('feature_flags', {local_echo: true}); - const people = global.people; const cordelia = { diff --git a/frontend_tests/node_tests/message_list.js b/frontend_tests/node_tests/message_list.js index 5991bb3d88..e653efcb65 100644 --- a/frontend_tests/node_tests/message_list.js +++ b/frontend_tests/node_tests/message_list.js @@ -16,7 +16,6 @@ zrequire('MessageListView', 'js/message_list_view'); const MessageList = zrequire('message_list').MessageList; set_global('i18n', global.stub_i18n); -set_global('feature_flags', {}); const with_overrides = global.with_overrides; // make lint happy diff --git a/frontend_tests/node_tests/message_list_view.js b/frontend_tests/node_tests/message_list_view.js index 839e2f52a2..44b728c225 100644 --- a/frontend_tests/node_tests/message_list_view.js +++ b/frontend_tests/node_tests/message_list_view.js @@ -14,7 +14,6 @@ set_global('page_params', { twenty_four_hour_time: false, }); set_global('home_msg_list', null); -set_global('feature_flags', {twenty_four_hour_time: false}); set_global('people', {small_avatar_url: function () { return ''; }}); set_global('unread', {message_unread: function () {}}); // timerender calls setInterval when imported