mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
test(frontend): Fix failing e2e test due to mock delay (#4923)
This commit is contained in:
parent
04aeccfb69
commit
de71b7cdb8
@ -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", "")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user