test: fix HookStatusDisplay tests

This commit is contained in:
mkorwel
2026-04-17 23:46:35 +00:00
parent 65c6318305
commit c255e2e18c
@@ -57,10 +57,12 @@ describe('<HookStatusDisplay />', () => {
it('should return empty string if no active hooks', async () => {
const props = { activeHooks: [] };
const { lastFrame, unmount, waitUntilReady } = await render(
const { lastFrame, unmount } = await render(
<HookStatusDisplay {...props} />,
undefined,
undefined,
true,
);
await waitUntilReady();
expect(lastFrame({ allowEmpty: true })).toBe('');
unmount();
});