mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 10:03:56 +00:00
node_tests: Fix example jQuery mock in comment.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -644,7 +644,7 @@ const $ = new Proxy(make_zjquery(), {
|
|||||||
Or you can do this if you don't actually
|
Or you can do this if you don't actually
|
||||||
need zjquery and just want to simulate one function.
|
need zjquery and just want to simulate one function.
|
||||||
|
|
||||||
set_global("$", {
|
mock_cjs("jquery", {
|
||||||
${prop}(...) {...},
|
${prop}(...) {...},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user