Skip to content

Commit

Permalink
chore: clean-up test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hebilicious committed Jun 16, 2023
1 parent fef6a44 commit c0b8326
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/cloudflare.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
// });

0 comments on commit c0b8326

Please sign in to comment.