node tests: Remove feature_flags refs.

This commit is contained in:
Steve Howell 2020-02-26 11:12:20 +00:00 committed by showell
parent b75fb579e3
commit fe80eef1a0
5 changed files with 0 additions and 6 deletions

View File

@ -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',

View File

@ -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', {});

View File

@ -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 = {

View File

@ -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

View File

@ -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