Fix tests
This commit is contained in:
parent
d448111da5
commit
43ca6dcf07
6 changed files with 214 additions and 185 deletions
|
@ -57,6 +57,7 @@ describe("DenoHttpServer", () => {
|
|||
|
||||
// Verify the response
|
||||
assertEquals(response.status, 404);
|
||||
await response.body?.cancel(); // Consume the body to prevent leaks
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue