mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
zjsunit: Do not run $(...) automatically.
We have generally gone away from using $(...) initialization in modules that we test with zjsunit, but there are a few remaining special cases related to our billing and portico codebases.
This commit is contained in:
committed by
Steve Howell
parent
bc8647539c
commit
fbd3669461
@@ -8,7 +8,7 @@ const {run_test} = require("../zjsunit/test");
|
||||
const $ = require("../zjsunit/zjquery");
|
||||
|
||||
const noop = () => {};
|
||||
stub_templates(() => noop);
|
||||
stub_templates(() => "<stub>");
|
||||
|
||||
const page_params = set_global("page_params", {});
|
||||
mock_cjs("jquery", $);
|
||||
|
||||
Reference in New Issue
Block a user