node_tests: Don’t read page_params from deprecated global variable.

Follow up to commit 89aa3155a9 (#17262).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-22 18:54:07 -08:00
parent be9ae9dac8
commit 7e3735b9ba
36 changed files with 53 additions and 58 deletions

View File

@@ -14,7 +14,7 @@ const template = fs.readFileSync("templates/corporate/upgrade.html", "utf-8");
const dom = new JSDOM(template, {pretendToBeVisual: true});
const jquery = jQueryFactory(dom.window);
set_global("page_params", {});
const page_params = set_global("page_params", {});
const loading = set_global("loading", {});
const history = set_global("history", {});
set_global("document", {