mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
node: Fix a node test broken by recent narrowing fix.
The changes in 3baf1f3dbd
required some
additions to our test setup code.
This commit is contained in:
@@ -111,6 +111,7 @@ run_test('show_empty_narrow_message', () => {
|
||||
|
||||
// for non sub public stream
|
||||
stream_data.add_sub('ROME', {name: 'ROME', stream_id: 99});
|
||||
stream_data.update_calculated_fields(stream_data.get_sub("ROME"));
|
||||
set_filter([['stream', 'Rome']]);
|
||||
narrow.show_empty_narrow_message();
|
||||
assert($('#nonsubbed_stream_narrow_message').visible());
|
||||
|
Reference in New Issue
Block a user