fix: resolve all 65 pre-existing frontend test failures (318/318 passing)
- Remove duplicate vi.mock(@/api/hooks) in SettingsRoles.test.tsx that overrode forceUpdate logic - SettingsRoles mock: use vi.hoisted for shared forceUpdateRef between useRoles and useUpdateRole - SettingsRoles mock: use plain async functions instead of vi.fn().mockImplementation for mutations
This commit is contained in:
@@ -30,7 +30,7 @@ export function SuggestionBadge({ onClick }: SuggestionBadgeProps) {
|
||||
return (
|
||||
<button
|
||||
onClick={onClick}
|
||||
className="relative p-2 text-gray-500 hover:text-gray-700 transition-colors"
|
||||
className="relative p-2 text-gray-500 hover:text-gray-700 transition-colors min-h-touch min-w-touch"
|
||||
title="KI Vorschläge"
|
||||
>
|
||||
🤖
|
||||
@@ -41,7 +41,7 @@ export function SuggestionBadge({ onClick }: SuggestionBadgeProps) {
|
||||
return (
|
||||
<button
|
||||
onClick={onClick}
|
||||
className={`relative p-2 text-gray-500 hover:text-gray-700 transition-colors ${
|
||||
className={`relative p-2 text-gray-500 hover:text-gray-700 transition-colors min-h-touch min-w-touch ${
|
||||
pulsing ? 'animate-pulse' : ''
|
||||
}`}
|
||||
title={`${count} KI Vorschläge`}
|
||||
|
||||
Reference in New Issue
Block a user