node tests: Cover exports.operators.

This commit is contained in:
cPhost
2017-12-02 02:18:05 +00:00
committed by showell
parent 8b7e355949
commit 5f50786129

View File

@@ -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() {