test: fix CopyModeWarning tests

This commit is contained in:
mkorwel
2026-04-18 02:02:28 +00:00
parent 48e0d3b107
commit 49504c0750
@@ -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();