Skip to content

Commit

Permalink
test(frontend): Fix failing e2e test due to mock delay (#4923)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanape authored Nov 12, 2024
1 parent 04aeccf commit de71b7c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/src/mocks/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", "")
Expand Down

0 comments on commit de71b7c

Please sign in to comment.