node_tests: Fix example jQuery mock in comment.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-04-23 11:16:42 -07:00
parent 1a8ad796f8
commit 923d67ecba

View File

@@ -644,7 +644,7 @@ const $ = new Proxy(make_zjquery(), {
Or you can do this if you don't actually
need zjquery and just want to simulate one function.
set_global("$", {
mock_cjs("jquery", {
${prop}(...) {...},
});