js: Convert static/js/ui_report.js to ES6 module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-27 15:58:55 -08:00
committed by Tim Abbott
parent 76bfa78beb
commit 26710a4370
33 changed files with 63 additions and 33 deletions

View File

@@ -25,7 +25,7 @@ set_global("recent_topics", {
});
// Still required for page_params.initial_pointer
set_global("page_params", {});
set_global("ui_report", {
rewiremock("../../static/js/ui_report").with({
hide_error: noop,
});