mirror of https://github.com/zulip/zulip.git
eslint: Fix @typescript-eslint/use-unknown-in-catch-callback-variable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
8f07d830f2
commit
4935276aa4
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue