Skip to content

Commit

Permalink
expected in ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Apr 15, 2024
1 parent 0f5016b commit c4adf16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/js/bun/http/serve-body-leak.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ async function callStreamingEcho() {
expect(result).toBe(payload);
}
async function callIgnore() {
await fetch(url, {
const result = await fetch(url, {
method: "POST",
body: payload,
}).then(res => res.text());
expect(result).toBe("Ok");
}

async function calculateMemoryLeak(fn: () => Promise<void>) {
Expand Down

0 comments on commit c4adf16

Please sign in to comment.