mirror of https://github.com/zulip/zulip.git
tests: Remove override_rewire of nonexistent variables.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
e468818d2b
commit
c57f12a792
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue