refactor: make App.prototype.handler() sync (#2906)

This commit is contained in:
Tim Reichen
2025-05-12 10:12:50 +02:00
committed by GitHub
parent 9605cd81b5
commit 1cfb4bc876
13 changed files with 49 additions and 48 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { expect } from "@std/expect";
import { retry } from "@std/async/retry";
await buildProd(app);
const handler = await app.handler();
const handler = app.handler();
Deno.test("CORS should not set on GET /fresh-badge.svg", async () => {
const req = new Request("http://localhost/fresh-badge.svg");