import { App } from "../../../src/app.ts"; const app = new App({ staticDir: "./static" }).get( "/", (ctx) => ctx.render( foo

false

Home
, ), ); const handler = await app.handler(); const res = await handler(new Request("http://localhost/")); // deno-lint-ignore no-console console.log(await res.text());