Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Anders Kaseorg4935276aa468
diff --git a/web/e2e-tests/lib/common.ts b/web/e2e-tests/lib/common.ts
index c7c06a5beaf..42a9c93ffa6 100644
--- a/web/e2e-tests/lib/common.ts
+++ b/web/e2e-tests/lib/common.ts
@@ -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);
});