1
0
forked from baron/baron-sso

chore(adminfront): fix Biome formatting issues

This commit is contained in:
2026-04-03 15:03:08 +09:00
parent a65f9afc69
commit 59d53bc1b2
2 changed files with 17 additions and 11 deletions

View File

@@ -61,7 +61,9 @@ export default defineConfig({
/* Run your local dev server before starting the tests */ /* Run your local dev server before starting the tests */
webServer: { webServer: {
command: process.env.CI ? "npm run build && npm run preview -- --port 5173" : "npm run dev", command: process.env.CI
? "npm run build && npm run preview -- --port 5173"
: "npm run dev",
url: "http://localhost:5173", url: "http://localhost:5173",
reuseExistingServer: !process.env.CI, reuseExistingServer: !process.env.CI,
timeout: 120 * 1000, timeout: 120 * 1000,

View File

@@ -76,7 +76,7 @@ test.describe("User Schema Dynamic Form", () => {
key: "emp_id", key: "emp_id",
label: "Employee ID", label: "Employee ID",
required: true, required: true,
validation: "^E[0-9]{3}$" validation: "^E[0-9]{3}$",
}, },
{ {
key: "loginId", key: "loginId",
@@ -108,7 +108,9 @@ test.describe("User Schema Dynamic Form", () => {
joinedTenants: [ joinedTenants: [
{ id: "t-1", name: "Test Tenant", slug: "test-tenant" }, { id: "t-1", name: "Test Tenant", slug: "test-tenant" },
], ],
metadata: { "t-1": { emp_id: "E123", salary: 1000, loginId: "johndoe" } }, metadata: {
"t-1": { emp_id: "E123", salary: 1000, loginId: "johndoe" },
},
}, },
}); });
} }
@@ -148,13 +150,13 @@ test.describe("User Schema Dynamic Form", () => {
key: "emp_id", key: "emp_id",
label: "Employee ID", label: "Employee ID",
required: true, required: true,
validation: "^E[0-9]{3}$" validation: "^E[0-9]{3}$",
}, },
{ {
key: "loginId", key: "loginId",
label: "Login ID", label: "Login ID",
required: true, required: true,
isLoginId: true, isLoginId: true,
}, },
{ {
key: "salary", key: "salary",
@@ -223,7 +225,9 @@ test.describe("User Schema Dynamic Form", () => {
await empIdInput.press("Enter"); await empIdInput.press("Enter");
// 에러 메시지 확인 // 에러 메시지 확인
const errorMsg = page.getByText(/형식이 올바르지 않습니다|Invalid format/i).first(); const errorMsg = page
.getByText(/형식이 올바르지 않습니다|Invalid format/i)
.first();
await expect(errorMsg).toBeVisible(); await expect(errorMsg).toBeVisible();
}); });
}); });