node_tests: Move to web/tests.

This lets us simplify the long-ish ‘../../static/js’ paths, and will
remove the need for the ‘zrequire’ wrapper.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-02-22 14:04:10 -08:00
parent c1675913a2
commit cea1119423
190 changed files with 990 additions and 993 deletions

View File

@@ -0,0 +1,8 @@
"use strict";
const jquery = require("jquery");
// so the tests can mock jQuery
delete require.cache[require.resolve("jquery")];
module.exports = jquery;