diff options
author | 2023-06-28 20:17:30 -0400 | |
---|---|---|
committer | 2023-06-29 23:40:56 -0400 | |
commit | 8a5c78d264fd0d912f3a63cc2a0cdbb234bbd11d (patch) | |
tree | 7722e5a0ea5fd26c900c1a979598e794f6a39b91 | |
parent | e876ca3abeb3cbc53bb5452c5485e4c25099403f (diff) | |
download | bun-8a5c78d264fd0d912f3a63cc2a0cdbb234bbd11d.tar.gz bun-8a5c78d264fd0d912f3a63cc2a0cdbb234bbd11d.tar.zst bun-8a5c78d264fd0d912f3a63cc2a0cdbb234bbd11d.zip |
remove files
-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(); -}); |