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.

node tests: Clear state in narrow_unread test.

Steve Howell164db57be120
diff --git a/frontend_tests/node_tests/narrow_unread.js b/frontend_tests/node_tests/narrow_unread.js
index 2ec1c8c6ec7..79164a10785 100644
--- a/frontend_tests/node_tests/narrow_unread.js
+++ b/frontend_tests/node_tests/narrow_unread.js
@@ -42,6 +42,9 @@ function candidate_ids() {
}
run_test("get_unread_ids", () => {
+ unread.declare_bankruptcy();
+ narrow_state.reset_current_filter();
+
let unread_ids;
let terms;