remove cases

This commit is contained in:
DennisYu07 2026-03-26 19:25:48 +08:00
parent b0d01a1fb9
commit a4e2ff9554
2 changed files with 0 additions and 27 deletions

View file

@ -113,20 +113,6 @@ describe('HooksListStep', () => {
expect(output).not.toContain('(0)');
});
it('should show total configured hooks count', () => {
const hooks: HookEventDisplayInfo[] = [
createMockHookInfo(HookEventName.PreToolUse, 2),
createMockHookInfo(HookEventName.PostToolUse, 3),
];
const { lastFrame } = render(
<HooksListStep hooks={hooks} selectedIndex={0} />,
);
const output = lastFrame();
expect(output).toContain('5 hooks configured');
});
it('should show singular form for single hook', () => {
const hooks: HookEventDisplayInfo[] = [
createMockHookInfo(HookEventName.PreToolUse, 1),

View file

@ -98,19 +98,6 @@ describe('HooksManagementDialog', () => {
expect(lastFrame()).toContain('Loading hooks');
});
it('should show total configured hooks count', async () => {
const { lastFrame, unmount } = renderWithProviders(
<HooksManagementDialog onClose={mockOnClose} />,
);
await new Promise((resolve) => setTimeout(resolve, 100));
const output = lastFrame();
expect(output).toContain('hooks configured');
unmount();
});
it('should display all hook events', async () => {
const { lastFrame, unmount } = renderWithProviders(
<HooksManagementDialog onClose={mockOnClose} />,