From 3d5589c31d5881408628bc39e7d211382943effb Mon Sep 17 00:00:00 2001 From: mkorwel Date: Fri, 17 Apr 2026 19:59:15 +0000 Subject: [PATCH] test: fix MaxSizedBox tests --- packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx b/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx index a63ae59628..92fcc13da8 100644 --- a/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx +++ b/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx @@ -195,15 +195,17 @@ describe('', () => { }); it('renders an empty box for empty children', async () => { - const { lastFrame, waitUntilReady, unmount } = await render( + const { lastFrame, unmount } = await render( , + undefined, + undefined, + true, ); await act(async () => { vi.runAllTimers(); }); - await waitUntilReady(); expect(lastFrame({ allowEmpty: true })?.trim()).equals(''); unmount(); });