Skip to content

Commit e43571e

Browse files
committed
test: enable sse test for web
1 parent 99acfb2 commit e43571e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

test/sse.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,15 @@ describeMatrix("sse", (t, { it, expect }) => {
2929
});
3030
});
3131

32-
// TODO: Investigate issues with web target
33-
34-
it.skipIf(t.target === "web")("streams events", async () => {
32+
it("streams events", async () => {
3533
const res = await t.fetch("/sse");
3634
expect(res.status).toBe(200);
3735
expect(res.headers.get("Content-Type")).toBe("text/event-stream");
3836
const messages = (await res.text()).split("\n\n").filter(Boolean);
3937
expect(messages.length).toBe(3);
4038
});
4139

42-
it.skipIf(t.target === "web")("streams events", async () => {
40+
it("streams events", async () => {
4341
const res = await t.fetch("/sse?includeMeta=true");
4442
expect(res.status).toBe(200);
4543
expect(res.headers.get("Content-Type")).toBe("text/event-stream");

0 commit comments

Comments
 (0)