eslint: Fix @typescript-eslint/no-unnecessary-boolean-literal-compare.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-12-21 16:07:57 -08:00
parent 6368cf17cb
commit cbe227af6f
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {