pm_list: Remove not needed narrow_state mock.

This commit is contained in:
Aman Agrawal 2024-01-13 07:31:23 +00:00 committed by Tim Abbott
parent 1f1749ffb1
commit 514075329b
1 changed files with 0 additions and 5 deletions

View File

@ -6,16 +6,11 @@ const {zrequire} = require("./lib/namespace");
const {run_test} = require("./lib/test");
const $ = require("./lib/zjquery");
const narrow_state = zrequire("narrow_state");
const pm_list = zrequire("pm_list");
run_test("update_dom_with_unread_counts", () => {
let counts;
// simulate an active narrow
narrow_state.set_current_filter("stub");
assert.equal(narrow_state.active(), true);
const $total_count = $.create("total-count-stub");
const $private_li = $(
".direct-messages-container #private_messages_section #private_messages_section_header",