diff --git a/apps/api/tests/routes/admin.test.ts b/apps/api/tests/routes/admin.test.ts index 21bc7ee..c60385c 100644 --- a/apps/api/tests/routes/admin.test.ts +++ b/apps/api/tests/routes/admin.test.ts @@ -1234,9 +1234,7 @@ describe('PATCH /api/admin/members/:id', () => { currentDevUserId = adminId; const app = await getApp(); - const res = await app.fetch( - jsonRequest('PATCH', `/api/admin/members/${memberId}`, {}), - ); + const res = await app.fetch(jsonRequest('PATCH', `/api/admin/members/${memberId}`, {})); expect(res.status).toBe(400); const body = (await res.json()) as { error: string }; expect(body.error).toBe('Invalid request');