style: fix Prettier formatting on 11 files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Herr
2026-05-21 11:35:37 +02:00
parent 3aea41f862
commit b24ee969d1
11 changed files with 289 additions and 95 deletions
+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());