forked from baron/baron-sso
test(adminfront): fix failing E2E tests for audit and users
- Relaxed audit log mock route matching to prevent empty state failures - Fixed strict mode violation on appointment '추가' button by scoping to tabpanel - Fixed UserDetailPage typescript compilation error during test build
This commit is contained in:
@@ -661,15 +661,15 @@ function UserDetailPage() {
|
||||
string,
|
||||
Record<string, string | number | boolean>
|
||||
>) || {}),
|
||||
sub_email: (Array.isArray(user.metadata?.sub_email)
|
||||
sub_email: Array.isArray(user.metadata?.sub_email)
|
||||
? user.metadata.sub_email
|
||||
: typeof user.metadata?.sub_email === "string"
|
||||
? user.metadata.sub_email
|
||||
.split(/[;,\n\r\t]/)
|
||||
.map((e) => e.trim())
|
||||
.filter((e) => e.includes("@"))
|
||||
: []) as unknown[],
|
||||
},
|
||||
: [],
|
||||
} as any,
|
||||
});
|
||||
const isUserHanmacFamily = isHanmacFamilyUser(
|
||||
user,
|
||||
|
||||
Reference in New Issue
Block a user