mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
eslint: Fix @typescript-eslint/prefer-optional-chain.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
4935276aa4
commit
26ae533985
@@ -30,7 +30,9 @@ set_global("navigator", {
|
||||
});
|
||||
|
||||
// jQuery stuff should go away if we make an initialize() method.
|
||||
set_global("document", "document-stub");
|
||||
set_global("document", {
|
||||
hasFocus: () => false,
|
||||
});
|
||||
|
||||
const activity_ui = mock_esm("../src/activity_ui");
|
||||
const browser_history = mock_esm("../src/browser_history");
|
||||
|
||||
Reference in New Issue
Block a user