Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

narrow_state: Disable coverage requirement for unlikely case.

Tim Abbottb747bd44872b
diff --git a/web/src/narrow_state.ts b/web/src/narrow_state.ts
index e2c9023e216..0bf42677b62 100644
--- a/web/src/narrow_state.ts
+++ b/web/src/narrow_state.ts
@@ -299,6 +299,7 @@ export function _possible_unread_message_ids(
return [];
}
if (sub === undefined || topic_name === undefined) {
+ /* istanbul ignore next */
return [];
}
return unread.get_msg_ids_for_topic(sub.stream_id, topic_name);