mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-15 05:47:18 -07:00
test: fix DialogManager tests
This commit is contained in:
@@ -99,7 +99,10 @@ describe('DialogManager', () => {
|
||||
it('renders nothing by default', async () => {
|
||||
const { lastFrame, unmount } = await renderWithProviders(
|
||||
<DialogManager {...defaultProps} />,
|
||||
{ uiState: baseUiState as Partial<UIState> as UIState },
|
||||
{
|
||||
uiState: baseUiState as Partial<UIState> as UIState,
|
||||
allowEmptyFrame: true,
|
||||
},
|
||||
);
|
||||
expect(lastFrame({ allowEmpty: true })).toBe('');
|
||||
unmount();
|
||||
|
||||
Reference in New Issue
Block a user