summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/hooks/shellCommandProcessor.test.ts')
-rw-r--r--packages/cli/src/ui/hooks/shellCommandProcessor.test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts b/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts
index 3645cc80..92bc98ea 100644
--- a/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts
+++ b/packages/cli/src/ui/hooks/shellCommandProcessor.test.ts
@@ -15,6 +15,7 @@ import type { exec as ExecType } from 'child_process'; // For typing the injecte
// Mocks
const mockAddItemToHistory = vi.fn();
+const mockSetPendingHistoryItem = vi.fn();
const mockOnExec = vi.fn(async (promise) => await promise);
const mockOnDebugMessage = vi.fn();
const mockGetTargetDir = vi.fn();
@@ -94,6 +95,7 @@ describe('useShellCommandProcessor', () => {
renderHook(() =>
useShellCommandProcessor(
mockAddItemToHistory,
+ mockSetPendingHistoryItem,
mockOnExec,
mockOnDebugMessage,
mockConfig,