mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
eslint: Fix unicorn/consistent-assert.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
37c9505a46
commit
a309bbe121
@@ -20,7 +20,7 @@ async function navigate_to_user_list(page: Page): Promise<void> {
|
||||
|
||||
async function user_row(page: Page, name: string): Promise<string> {
|
||||
const user_id = await common.get_user_id_from_name(page, name);
|
||||
assert(user_id !== undefined);
|
||||
assert.ok(user_id !== undefined);
|
||||
return `.user_row[data-user-id="${CSS.escape(user_id.toString())}"]`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user