mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-03 14:46:46 -07:00
test: fix QuittingDisplay tests
This commit is contained in:
@@ -43,7 +43,12 @@ describe('QuittingDisplay', () => {
|
||||
mockUseUIState.mockReturnValue({
|
||||
quittingMessages: null,
|
||||
} as unknown as UIState);
|
||||
const { lastFrame, unmount } = await render(<QuittingDisplay />);
|
||||
const { lastFrame, unmount } = await render(
|
||||
<QuittingDisplay />,
|
||||
undefined,
|
||||
undefined,
|
||||
true,
|
||||
);
|
||||
expect(lastFrame({ allowEmpty: true })).toBe('');
|
||||
unmount();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user