Files
zulip/web/tests/lib/real_jquery.js
Anders Kaseorg cea1119423 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>
2023-02-23 16:04:17 -08:00

9 lines
157 B
JavaScript

"use strict";
const jquery = require("jquery");
// so the tests can mock jQuery
delete require.cache[require.resolve("jquery")];
module.exports = jquery;