test: fix QuittingDisplay tests

This commit is contained in:
mkorwel
2026-04-18 02:25:11 +00:00
parent 9942baaa73
commit 865a35d20d
@@ -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();
});