mirror of https://github.com/zulip/zulip.git
filter: Fix filter variable not updated as per new terms.
This commit is contained in:
parent
3d875bd140
commit
56d4bad92b
|
@ -134,6 +134,7 @@ test("basics", () => {
|
|||
|
||||
// "stream" was renamed to "channel"
|
||||
terms = [{operator: "stream", operand: foo_stream_id.toString()}];
|
||||
filter = new Filter(terms);
|
||||
assert.ok(filter.has_operator("channel"));
|
||||
assert.deepEqual(filter.operands("channel"), [foo_stream_id.toString()]);
|
||||
assert.ok(filter.includes_full_stream_history());
|
||||
|
|
Loading…
Reference in New Issue