mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 22:33:05 -07:00
test: fix GeminiRespondingSpinner tests
This commit is contained in:
@@ -56,7 +56,12 @@ describe('GeminiRespondingSpinner', () => {
|
||||
|
||||
it('renders nothing when not responding and no non-responding display', async () => {
|
||||
mockUseStreamingContext.mockReturnValue(StreamingState.Idle);
|
||||
const { lastFrame, unmount } = await render(<GeminiRespondingSpinner />);
|
||||
const { lastFrame, unmount } = await render(
|
||||
<GeminiRespondingSpinner />,
|
||||
undefined,
|
||||
undefined,
|
||||
true,
|
||||
);
|
||||
expect(lastFrame({ allowEmpty: true })).toBe('');
|
||||
unmount();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user