lootsa tests fixes
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m33s

This commit is contained in:
2025-12-05 23:36:24 -08:00
parent cf03fcf7d4
commit aaf1bc3fdb

View File

@@ -398,6 +398,7 @@ describe('ProfileManager Authenticated User Features', () => {
fireEvent.click(screen.getByRole('button', { name: /save profile/i }));
await waitFor(() => {
console.log('onProfileUpdate calls:', mockOnProfileUpdate.mock.calls);
expect(mockedApiClient.updateUserProfile).toHaveBeenCalled();
expect(mockOnProfileUpdate).toHaveBeenCalledWith(expect.objectContaining({ full_name: 'Updated Name' }));
// Match any success message containing "Profile" and "updated"