From c0b832603085ee17692ec07651caf49df3ef9a7c Mon Sep 17 00:00:00 2001 From: Hebilicious Date: Fri, 16 Jun 2023 16:58:10 +0700 Subject: [PATCH] chore: clean-up test --- test/cloudflare.test.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/cloudflare.test.ts b/test/cloudflare.test.ts index ad31180d..eda2b01b 100644 --- a/test/cloudflare.test.ts +++ b/test/cloudflare.test.ts @@ -19,19 +19,3 @@ test("Can use the router", async () => { const response = await worker.fetch(request, env, ctx); expect(await response.text()).toBe(`Routed there`); }); - -// Miniflare tests -// const mf = new Miniflare({ -// script: "./h3-worker.ts", -// }); -// const baseUrl = "http://localhost"; - -// test("responds with url", async () => { -// const response = await mf.dispatchFetch(baseUrl); -// expect(await response.text()).toBe(`Hello world ! ${baseUrl}/`); -// }); - -// test("Can use the router", async () => { -// const response = await mf.dispatchFetch(`${baseUrl}/here`); -// expect(await response.text()).toBe(`Routed there`); -// });