Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Fix incorrect event format used in example4.test.cjs.
Sahil Batra7b1d6604bc41
diff --git a/web/tests/example4.test.cjs b/web/tests/example4.test.cjsindex 04913f962ac..8318bf805be 100644--- a/web/tests/example4.test.cjs+++ b/web/tests/example4.test.cjs@@ -127,11 +127,10 @@ run_test("update user with event", ({override}) => {const $option = $.create('option[value="100"]');$select.set_find_results('option[value="100"]', $option);- const new_bob = make_bot({- email: "[email protected]",+ const new_bob = {user_id: bob.user_id,full_name: "The Artist Formerly Known as Bob",- });+ };const event = {type: "realm_user",