tests: Remove override_rewire of nonexistent variables.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-08 01:24:23 -08:00 committed by Tim Abbott
parent e468818d2b
commit c57f12a792
1 changed files with 1 additions and 5 deletions

View File

@ -23,7 +23,6 @@ const stream_data = zrequire("stream_data");
const peer_data = zrequire("peer_data"); const peer_data = zrequire("peer_data");
const people = zrequire("people"); const people = zrequire("people");
const compose_fade = zrequire("compose_fade"); const compose_fade = zrequire("compose_fade");
const compose_recipient = zrequire("compose_recipient");
const compose_fade_helper = zrequire("compose_fade_helper"); const compose_fade_helper = zrequire("compose_fade_helper");
const compose_state = zrequire("compose_state"); const compose_state = zrequire("compose_state");
@ -51,10 +50,7 @@ people.initialize_current_user(me.user_id);
people.add_active_user(alice); people.add_active_user(alice);
people.add_active_user(bob); people.add_active_user(bob);
run_test("set_focused_recipient", ({override_rewire}) => { run_test("set_focused_recipient", () => {
override_rewire(compose_recipient, "selected_stream_name", "social");
override_rewire(compose_recipient, "is_direct_message_selected", false);
const sub = { const sub = {
stream_id: 101, stream_id: 101,
name: "social", name: "social",