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.

compose tests: Create stubs for height and css.

Steve Howelld0730131a277
diff --git a/web/tests/compose.test.cjs b/web/tests/compose.test.cjs
index b51a57fa38f..af58ee3975b 100644
--- a/web/tests/compose.test.cjs
+++ b/web/tests/compose.test.cjs
@@ -197,6 +197,9 @@ class FakeComposeBox {
return $message_row_stub;
};
+ $("textarea#compose-textarea").set_height(50);
+ $("#compose .preview_message_area").css = noop;
+
this.reset();
}