diff options
-rw-r--r-- | test/js/bun/http/node.js | 8 | ||||
-rw-r--r-- | test/js/bun/http/sse.test.ts | 16 |
2 files changed, 0 insertions, 24 deletions
diff --git a/test/js/bun/http/node.js b/test/js/bun/http/node.js deleted file mode 100644 index 0a1102098..000000000 --- a/test/js/bun/http/node.js +++ /dev/null @@ -1,8 +0,0 @@ -// import { createServer } from "http"; - -// const s = createServer((req, res) => { -// res.writeHead(200, { "Content-Type": "bruh" }); -// res.end("bruh"); -// }); - -// s.listen(3000, () => {}); diff --git a/test/js/bun/http/sse.test.ts b/test/js/bun/http/sse.test.ts deleted file mode 100644 index 470444ed4..000000000 --- a/test/js/bun/http/sse.test.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { describe, test, jest } from "bun:test"; - -test("aborted readable stream calls cancel", async () => { - const pull = jest.fn((ctrl: ReadableStreamDirectController) => { - console.log("fetch"); - ctrl.write("hello"); - ctrl.flush(); - ctrl.write("hello"); - ctrl.flush(); - ctrl.write("hello"); - ctrl.flush(); - }); - const cancel = jest.fn(); - - // server.stop(); -}); |