mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
js: Convert static/js/gear_menu.js to ES6 module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
fb93be0d94
commit
b408565111
@@ -35,9 +35,12 @@ const emoji_picker = set_global("emoji_picker", {
|
||||
set_global("hotspots", {
|
||||
is_open: () => false,
|
||||
});
|
||||
const gear_menu = set_global("gear_menu", {
|
||||
const gear_menu = {
|
||||
__esModule: true,
|
||||
is_open: () => false,
|
||||
});
|
||||
};
|
||||
|
||||
rewiremock("../../static/js/gear_menu").with(gear_menu);
|
||||
|
||||
// Important note on these tests:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user