Skip to content

Commit

Permalink
test(bun): add headers test for bun
Browse files Browse the repository at this point in the history
  • Loading branch information
Hebilicious committed Sep 1, 2023
1 parent 83e980b commit 8369ad4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,12 +562,6 @@ export function testNitro(
"foo=bar, bar=baz,test=value; Path=/,test2=value; Path=/";
}

// TODO: Bun does not handles set-cookie at all
// https://github.com/unjs/nitro/issues/1461
if (["bun"].includes(ctx.preset)) {
return;
}

expect(headers["set-cookie"]).toMatchObject(expectedCookies);
});
});
Expand Down

0 comments on commit 8369ad4

Please sign in to comment.