eslint: Fix @typescript-eslint/use-unknown-in-catch-callback-variable.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-03-28 15:58:51 -07:00 committed by Tim Abbott
parent 8f07d830f2
commit 4935276aa4
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ export async function run_test_async(test_function: (page: Page) => Promise<void
}
export function run_test(test_function: (page: Page) => Promise<void>): void {
run_test_async(test_function).catch((error) => {
run_test_async(test_function).catch((error: unknown) => {
console.error(error);
process.exit(1);
});