zjsunit: Deglobalize zjquery.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-11-30 15:12:33 -08:00
committed by Steve Howell
parent 59124c7559
commit 3715e68598
63 changed files with 137 additions and 79 deletions

View File

@@ -3,10 +3,11 @@
const {strict: assert} = require("assert");
const {set_global, zrequire} = require("../zjsunit/namespace");
const {make_zjquery} = require("../zjsunit/zjquery");
zrequire("dropdown_list_widget");
zrequire("scroll_util");
set_global("$", global.make_zjquery());
set_global("$", make_zjquery());
const noop = () => {};
const _list_render = {