style: fix Prettier formatting on 11 files

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
Julien HerrandClaude Sonnet 4.6 committed 2026-05-21 11:35:37 +02:00
1 parent 3aea41f862
commit b24ee969d1
11 files changed
+289 -95

No files matched your search

+6 -2
View File
@@ -14,7 +14,8 @@ describe("Admin Routes", () => {
mockEnv = createMockEnv() as unknown as Env;
testApp = new Hono();
testApp.route("/admin", app);
request = (path, init = {}) => Promise.resolve(testApp.request(path, init, mockEnv));
request = (path, init = {}) =>
Promise.resolve(testApp.request(path, init, mockEnv));
loginAndGetCookie = async () => {
const formData = new FormData();
formData.append("password", "test-password");
@@ -366,7 +367,10 @@ describe("Admin Routes", () => {
} as unknown as Env;
}
function makeProxyRequest(path: string, headers: Record<string, string> = {}) {
function makeProxyRequest(
path: string,
headers: Record<string, string> = {},
) {
const proxyApp = new Hono();
proxyApp.route("/admin", app);
return proxyApp.request(path, { headers }, proxyEnv());