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.

e2e-tests: Remove now-unnecessary StackFrame cast.

Anders Kaseorg8a837320a9c2
diff --git a/web/e2e-tests/lib/common.ts b/web/e2e-tests/lib/common.ts
index 18101dad307..55ed1a8fec1 100644
--- a/web/e2e-tests/lib/common.ts
+++ b/web/e2e-tests/lib/common.ts
@@ -653,8 +653,7 @@ export async function run_test_async(test_function: (page: Page) => Promise<void
const console_ready1 = console_ready;
console_ready = (async () => {
const frames = await Promise.all(
- ErrorStackParser.parse(error).map(async (frame1) => {
- let frame = frame1 as unknown as StackFrame;
+ ErrorStackParser.parse(error).map(async (frame) => {
try {
frame = await gps.getMappedLocation(frame);
} catch {