From 58a3be9a34ebaa1421d334a1aa62a28536c40829 Mon Sep 17 00:00:00 2001 From: chan Date: Fri, 29 May 2026 16:21:27 +0900 Subject: [PATCH] fix(adminfront): resolve biome lint and formatting failures --- adminfront/src/features/users/UserDetailPage.tsx | 2 +- adminfront/tests/users.spec.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/adminfront/src/features/users/UserDetailPage.tsx b/adminfront/src/features/users/UserDetailPage.tsx index 1202c215..056e677f 100644 --- a/adminfront/src/features/users/UserDetailPage.tsx +++ b/adminfront/src/features/users/UserDetailPage.tsx @@ -669,7 +669,7 @@ function UserDetailPage() { .map((e) => e.trim()) .filter((e) => e.includes("@")) : [], - } as any, + } as UserFormValues["metadata"], }); const isUserHanmacFamily = isHanmacFamilyUser( user, diff --git a/adminfront/tests/users.spec.ts b/adminfront/tests/users.spec.ts index 3dd56888..dca9540f 100644 --- a/adminfront/tests/users.spec.ts +++ b/adminfront/tests/users.spec.ts @@ -721,7 +721,10 @@ test.describe("User Management", () => { await expect(page.locator("input#department")).toHaveCount(0); await expect(page.getByText(/대표 소속/i)).toHaveCount(0); - await page.getByRole("tabpanel").getByRole("button", { name: /^추가$/i }).click(); + await page + .getByRole("tabpanel") + .getByRole("button", { name: /^추가$/i }) + .click(); await expect(page.getByTestId("appointment-row-0")).toBeVisible(); await expect( page.getByTestId("appointment-tenant-owner-line-0"),