Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tests: Await async test functions in compose_validate.test.cjs.

Tim Abbott6872221c41e3
diff --git a/web/tests/compose_validate.test.cjs b/web/tests/compose_validate.test.cjs
index 681d3175b96..3f87254a205 100644
--- a/web/tests/compose_validate.test.cjs
+++ b/web/tests/compose_validate.test.cjs
@@ -587,10 +587,10 @@ test_ui("warn_if_private_stream_is_linked", async ({mock_template}) => {
}
compose_state.set_selected_recipient_id(undefined);
- void test_noop_case(false);
+ await test_noop_case(false);
// invite_only=true and current compose stream subscribers are a subset
// of mentioned_stream subscribers.
- void test_noop_case(true);
+ await test_noop_case(true);
$("#compose_private").hide();
compose_state.set_message_type("stream");