node_tests: Remove pointless reassignment of ‘dropdown_list_widget’.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-05-26 15:44:14 -07:00 committed by Tim Abbott
parent 0423e6b7cc
commit c440fc714d
1 changed files with 2 additions and 2 deletions

View File

@ -796,7 +796,7 @@ run_test('set_up', () => {
};
const dropdown_list_widget_backup = dropdown_list_widget;
dropdown_list_widget = () => { // eslint-disable-line no-native-reassign
window.dropdown_list_widget = () => {
return {
render: noop,
update: noop,
@ -840,7 +840,7 @@ run_test('set_up', () => {
test_parse_time_limit();
test_discard_changes_button(discard_changes);
dropdown_list_widget = dropdown_list_widget_backup; // eslint-disable-line no-native-reassign
window.dropdown_list_widget = dropdown_list_widget_backup;
});
run_test('test get_organization_settings_options', () => {