Skip to content

πŸ™Œ OpenHands: AI-Driven Development

test(frontend): Fix failing e2e test due to mock delay (#4923)

sp.wackde71b7cdb814
diff --git a/frontend/src/mocks/handlers.ts b/frontend/src/mocks/handlers.ts
index 16f2f6972d..5926dd8ac5 100644
--- a/frontend/src/mocks/handlers.ts
+++ b/frontend/src/mocks/handlers.ts
@@ -71,8 +71,6 @@ const openHandsHandlers = [
export const handlers = [
...openHandsHandlers,
http.get("https://api.github.com/user/repos", async ({ request }) => {
- if (import.meta.env.MODE !== "test") await delay(3500);
-
const token = request.headers
.get("Authorization")
?.replace("Bearer", "")