mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-12 12:26:57 -07:00
test: fix CopyModeWarning tests
This commit is contained in:
@@ -22,6 +22,7 @@ describe('CopyModeWarning', () => {
|
||||
} as unknown as ReturnType<typeof useInputState>);
|
||||
const { lastFrame, unmount } = await renderWithProviders(
|
||||
<CopyModeWarning />,
|
||||
{ allowEmptyFrame: true },
|
||||
);
|
||||
expect(lastFrame({ allowEmpty: true })).toBe('');
|
||||
unmount();
|
||||
|
||||
Reference in New Issue
Block a user