mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
stream_list_sort: Remove stream list row navigation code.
This stopped being used after 78a3ef56e4.
This commit is contained in:
@@ -121,7 +121,6 @@ test("no_subscribed_streams", () => {
|
||||
],
|
||||
same_as_before: sorted.same_as_before,
|
||||
});
|
||||
assert.equal(stream_list_sort.first_row(), undefined);
|
||||
});
|
||||
|
||||
test("basics", () => {
|
||||
@@ -150,15 +149,6 @@ test("basics", () => {
|
||||
]);
|
||||
assert.deepEqual(normal.muted_streams, [muted_active.stream_id]);
|
||||
|
||||
// Test keyboard UI / cursor code (currently mostly deleted).
|
||||
// TODO/channel-folders: Re-add keyboard navigation tests,
|
||||
// including some with filtering. This mainly requires either
|
||||
// exporting some parts of the stream_list module, or refactoring
|
||||
// to move some of the stream_list data objects to another module.
|
||||
const row = stream_list_sort.first_row();
|
||||
assert.equal(row.type, "stream");
|
||||
assert.equal(row.stream_id, scalene.stream_id);
|
||||
|
||||
// Test filtering
|
||||
sorted_sections = sort_groups("s").sections;
|
||||
assert.deepEqual(sorted_sections.length, 2);
|
||||
|
||||
Reference in New Issue
Block a user