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
@@ -35,7 +35,7 @@ async function createServer<T>(
_fs: createFakeFs(files),
} as FsRoutesOptions & TESTING_ONLY__FsRoutesOptions,
);
return new FakeServer(await app.handler());
return new FakeServer(app.handler());
}
Deno.test("fsRoutes - throws error when file has no exports", async () => {