test: fix DialogManager tests

This commit is contained in:
mkorwel
2026-04-17 20:34:21 +00:00
parent f15ce7e6a1
commit 66160763e4
@@ -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();