From d51ec7851e345cf562a63900a822bb5977a0afef Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Thu, 17 May 2018 14:51:02 +0000 Subject: [PATCH] node tests: Remove dead code in general.js. --- frontend_tests/node_tests/general.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/frontend_tests/node_tests/general.js b/frontend_tests/node_tests/general.js index b417411469..1cb0916de1 100644 --- a/frontend_tests/node_tests/general.js +++ b/frontend_tests/node_tests/general.js @@ -611,7 +611,6 @@ function jquery_elem() { function make_jquery_helper() { const stream_list_filter = jquery_elem(); - stream_list_filter.is = () => true; stream_list_filter.val = () => ''; const stream_filters = jquery_elem(); @@ -623,16 +622,10 @@ function make_jquery_helper() { function fake_jquery(selector) { switch (selector) { - case '#stream_filters li.highlighted_stream': - return jquery_elem(); case '.stream-list-filter': return stream_list_filter; - case '#stream_filters li.narrow-filter': - return jquery_elem(); case 'ul#stream_filters li': return jquery_elem(); - case '.stream-filters-label': - return jquery_elem(); case '#stream_filters': return stream_filters; default: