Compare commits

...

1 Commits

Author SHA1 Message Date
Brendan Allan 940257baeb fix(e2e): add health check mock 2026-05-26 15:25:18 +08:00
+4
View File
@@ -35,6 +35,10 @@ export async function mockOpenCodeServer(page: Page, config: MockServerConfig) {
"/agent": [{ name: "build", mode: "primary" }],
"/vcs": { branch: "main", default_branch: "main" },
"/session": config.sessions,
"/global/health": {
healthy: true,
version: "mock",
},
}
await page.route("**/*", async (route) => {