mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
node tests: Cover exports.operators.
This commit is contained in:
@@ -105,6 +105,10 @@ function set_filter(operators) {
|
|||||||
|
|
||||||
assert.equal(result[2].operator, 'search');
|
assert.equal(result[2].operator, 'search');
|
||||||
assert.equal(result[2].operand, 'yo');
|
assert.equal(result[2].operand, 'yo');
|
||||||
|
|
||||||
|
narrow_state.reset_current_filter();
|
||||||
|
result = narrow_state.operators();
|
||||||
|
assert.equal(result.length, 0);
|
||||||
}());
|
}());
|
||||||
|
|
||||||
(function test_muting_enabled() {
|
(function test_muting_enabled() {
|
||||||
|
|||||||
Reference in New Issue
Block a user