mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
eslint: Fix @typescript-eslint/no-unnecessary-boolean-literal-compare.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -302,7 +302,7 @@ export async function ensure_enter_does_not_send(page: Page): Promise<void> {
|
||||
await page.waitForSelector("#send_later_popover");
|
||||
const enter_sends = await page.$eval(
|
||||
".enter_sends_choice input[value='true']",
|
||||
(el) => el.checked === true,
|
||||
(el) => el.checked,
|
||||
);
|
||||
|
||||
if (enter_sends) {
|
||||
|
||||
Reference in New Issue
Block a user