diff --git a/frontend_tests/zjsunit/zjquery.js b/frontend_tests/zjsunit/zjquery.js index 5348ee4824..e235ad4c5b 100644 --- a/frontend_tests/zjsunit/zjquery.js +++ b/frontend_tests/zjsunit/zjquery.js @@ -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}(...) {...}, });