mirror of https://github.com/zulip/zulip.git
pm_list: Remove not needed narrow_state mock.
This commit is contained in:
parent
1f1749ffb1
commit
514075329b
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue