import { App } from "../../../src/app.ts";
const app = new App({ staticDir: "./static" }).get(
"/",
(ctx) =>
ctx.render(
foo
,
),
);
const handler = await app.handler();
const res = await handler(new Request("http://localhost/"));
console.log(await res.text());