From 581709df80769ae5174a1fab66bd3aa9d2967c15 Mon Sep 17 00:00:00 2001 From: Allen Hutchison Date: Thu, 22 May 2025 10:57:06 -0700 Subject: Refactor: Streamline memoryUtils and update slash commands (#478) --- packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.test.ts') diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts index beee1418..1d9eec53 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts @@ -77,13 +77,13 @@ describe('useSlashCommandProcessor', () => { performAddMemoryEntrySpy.mockReset(); (open as Mock).mockClear(); - vi.spyOn(memoryUtils, 'deleteLastMemoryEntry').mockImplementation(vi.fn()); - vi.spyOn(memoryUtils, 'deleteAllAddedMemoryEntries').mockImplementation( - vi.fn(), - ); + // vi.spyOn(memoryUtils, 'deleteLastMemoryEntry').mockImplementation(vi.fn()); + // vi.spyOn(memoryUtils, 'deleteAllAddedMemoryEntries').mockImplementation( + // vi.fn(), + // ); - vi.mocked(memoryUtils.deleteLastMemoryEntry).mockClear(); - vi.mocked(memoryUtils.deleteAllAddedMemoryEntries).mockClear(); + // vi.mocked(memoryUtils.deleteLastMemoryEntry).mockClear(); + // vi.mocked(memoryUtils.deleteAllAddedMemoryEntries).mockClear(); mockProcessExit.mockClear(); (ShowMemoryCommandModule.createShowMemoryAction as Mock).mockClear(); -- cgit v1.2.3