mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-22 15:51:18 -07:00
test(cli): resolve act() warnings, fix terminalCapabilityManager mock, and update snapshots
This commit is contained in:
@@ -58,7 +58,7 @@ export const BrailleAnimation: React.FC<BrailleAnimationProps> = ({
|
||||
const shouldShow = settings.merged.ui?.showSpinner !== false;
|
||||
|
||||
useEffect(() => {
|
||||
if (!shouldShow || !animate) return;
|
||||
if (!shouldShow || !animate || variant === 'Static') return;
|
||||
|
||||
debugState.debugNumAnimatedComponents++;
|
||||
|
||||
@@ -70,7 +70,7 @@ export const BrailleAnimation: React.FC<BrailleAnimationProps> = ({
|
||||
debugState.debugNumAnimatedComponents--;
|
||||
clearInterval(timer);
|
||||
};
|
||||
}, [interval, shouldShow, animate]);
|
||||
}, [interval, shouldShow, animate, variant]);
|
||||
|
||||
const getLength = () => {
|
||||
const cycle = Math.floor(tick / 8);
|
||||
|
||||
Reference in New Issue
Block a user