tests: Avoid override_rewire of overloaded function.

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

View File

@ -326,7 +326,7 @@ test_ui("get_invalid_recipient_emails", ({override, override_rewire}) => {
people.initialize(current_user.user_id, params);
override_rewire(compose_state, "private_message_recipient", () => "welcome-bot@example.com");
override_rewire(compose_pm_pill, "get_emails", () => "welcome-bot@example.com");
assert.deepEqual(compose_validate.get_invalid_recipient_emails(), []);
});