mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-17 21:40:39 -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 () => {
|
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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user