mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-18 15:52:53 -07:00
test: fix HookStatusDisplay tests
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user