Fix tests

This commit is contained in:
Minoru Mizutani 2025-04-29 10:11:22 +09:00
parent d448111da5
commit 43ca6dcf07
No known key found for this signature in database
6 changed files with 214 additions and 185 deletions

View file

@ -57,6 +57,7 @@ describe("DenoHttpServer", () => {
// Verify the response
assertEquals(response.status, 404);
await response.body?.cancel(); // Consume the body to prevent leaks
});
});