feat(app): support current event transport (#38464)

This commit is contained in:
Brendan Allan
2026-07-23 17:19:44 +08:00
committed by GitHub
parent 347510a73b
commit e59ba24b80
8 changed files with 527 additions and 121 deletions
@@ -97,6 +97,7 @@ export async function setupTimeline(
locale?: string
deviceScaleFactor?: number
seedHistory?: boolean
protocol?: "v1" | "v2"
} = {},
) {
const sessions = input.sessions ?? [session()]
@@ -114,6 +115,7 @@ export async function setupTimeline(
retry: input.eventRetry ?? 20,
})
await mockOpenCodeServer(page, {
protocol: input.protocol,
directory,
project: project(),
provider: provider(),