e2e-tests: Remove now-unnecessary StackFrame cast.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-10-16 14:27:13 -07:00
committed by Anders Kaseorg
parent ccb492a75a
commit 8a837320a9

View File

@@ -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 {