more db
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 38s

This commit is contained in:
2025-12-31 21:07:36 -08:00
parent a32a0b62fc
commit cc438a0e36

View File

@@ -109,7 +109,7 @@ export const createMockUser = (overrides: Partial<User> = {}): User => {
* @returns A complete and type-safe UserProfile object.
*/
export const createMockUserProfile = (
overrides: Partial<UserProfile & { user: Partial<User> }> = {},
overrides: Partial<Omit<UserProfile, 'user'>> & { user?: Partial<User> } = {},
): UserProfile => {
// The user object is the source of truth for user_id and email.
const user = createMockUser(overrides.user);