test: fix GeminiRespondingSpinner tests

This commit is contained in:
mkorwel
2026-04-17 23:24:18 +00:00
parent fc5db6c2ab
commit 3f531ca3f3
@@ -56,7 +56,12 @@ describe('GeminiRespondingSpinner', () => {
it('renders nothing when not responding and no non-responding display', async () => { it('renders nothing when not responding and no non-responding display', async () => {
mockUseStreamingContext.mockReturnValue(StreamingState.Idle); mockUseStreamingContext.mockReturnValue(StreamingState.Idle);
const { lastFrame, unmount } = await render(<GeminiRespondingSpinner />); const { lastFrame, unmount } = await render(
<GeminiRespondingSpinner />,
undefined,
undefined,
true,
);
expect(lastFrame({ allowEmpty: true })).toBe(''); expect(lastFrame({ allowEmpty: true })).toBe('');
unmount(); unmount();
}); });