diff --git a/packages/cli/src/ui/components/HookStatusDisplay.test.tsx b/packages/cli/src/ui/components/HookStatusDisplay.test.tsx index 9603e6b31a..ef8495e5a8 100644 --- a/packages/cli/src/ui/components/HookStatusDisplay.test.tsx +++ b/packages/cli/src/ui/components/HookStatusDisplay.test.tsx @@ -57,10 +57,12 @@ describe('', () => { it('should return empty string if no active hooks', async () => { const props = { activeHooks: [] }; - const { lastFrame, unmount, waitUntilReady } = await render( + const { lastFrame, unmount } = await render( , + undefined, + undefined, + true, ); - await waitUntilReady(); expect(lastFrame({ allowEmpty: true })).toBe(''); unmount(); });