chore: fix fetch body not consumed in test (#1782)
This commit is contained in:
@@ -863,6 +863,7 @@ Deno.test("PORT environment variable", {
|
||||
await delay(100);
|
||||
|
||||
const resp = await fetch("http://localhost:" + PORT);
|
||||
await resp.body?.cancel();
|
||||
assert(resp);
|
||||
assertEquals(resp.status, Status.OK);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user