mirror of https://github.com/zulip/zulip.git
node tests: Get stream_sort.js to 100% node coverage.
This commit is contained in:
parent
9f9cb618c9
commit
0a56156017
|
@ -9,6 +9,11 @@ var stream_sort = require('js/stream_sort.js');
|
|||
var stream_data = require('js/stream_data.js');
|
||||
var with_overrides = global.with_overrides;
|
||||
|
||||
// Test no subscribed streams
|
||||
(function test_no_subscribed_streams() {
|
||||
assert.equal(stream_sort.sort_groups(''), undefined);
|
||||
}());
|
||||
|
||||
stream_data.add_sub('scalene', {
|
||||
subscribed: true,
|
||||
name: 'scalene',
|
||||
|
|
Loading…
Reference in New Issue