node tests: Remove dead code in general.js.

This commit is contained in:
Steve Howell 2018-05-17 14:51:02 +00:00 committed by Tim Abbott
parent 910fc842e2
commit d51ec7851e
1 changed files with 0 additions and 7 deletions

View File

@ -611,7 +611,6 @@ function jquery_elem() {
function make_jquery_helper() { function make_jquery_helper() {
const stream_list_filter = jquery_elem(); const stream_list_filter = jquery_elem();
stream_list_filter.is = () => true;
stream_list_filter.val = () => ''; stream_list_filter.val = () => '';
const stream_filters = jquery_elem(); const stream_filters = jquery_elem();
@ -623,16 +622,10 @@ function make_jquery_helper() {
function fake_jquery(selector) { function fake_jquery(selector) {
switch (selector) { switch (selector) {
case '#stream_filters li.highlighted_stream':
return jquery_elem();
case '.stream-list-filter': case '.stream-list-filter':
return stream_list_filter; return stream_list_filter;
case '#stream_filters li.narrow-filter':
return jquery_elem();
case 'ul#stream_filters li': case 'ul#stream_filters li':
return jquery_elem(); return jquery_elem();
case '.stream-filters-label':
return jquery_elem();
case '#stream_filters': case '#stream_filters':
return stream_filters; return stream_filters;
default: default: