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(); });