mirror of https://github.com/zulip/zulip.git
node_tests: Add missing mock children.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
7dd070df44
commit
48102c15a3
|
@ -199,6 +199,7 @@ run_test("validate", () => {
|
|||
$("#sending-indicator").hide();
|
||||
|
||||
const pm_pill_container = $.create("fake-pm-pill-container");
|
||||
$("#private_message_recipient")[0] = {};
|
||||
$("#private_message_recipient").set_parent(pm_pill_container);
|
||||
pm_pill_container.set_find_results(".input", $("#private_message_recipient"));
|
||||
$("#private_message_recipient").before = noop;
|
||||
|
|
|
@ -106,6 +106,7 @@ function set_up() {
|
|||
|
||||
const pill_input = $.create("pill_input");
|
||||
|
||||
pill_input[0] = {};
|
||||
pill_input.before = () => {};
|
||||
|
||||
const create_item_from_text = function (text) {
|
||||
|
|
Loading…
Reference in New Issue