1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

remove unnecessary wait

This commit is contained in:
Yoshiya Hinosawa 2024-11-20 13:37:23 +09:00
parent 9c6f7e91dd
commit bec8cf8e44
No known key found for this signature in database
GPG key ID: 9017DB4559488785

View file

@ -1070,11 +1070,6 @@ Deno.test(
await requestClosed.promise;
assertEquals(receivedRequest, false);
await server.finished;
if (Deno.build.os === "windows") {
// FIXME(kt3k): This is necessary for preventing op leak on windows
await new Promise((resolve) => setTimeout(resolve, 4000));
}
},
);