diff options
| author | Allen Hutchison <[email protected]> | 2025-05-22 10:57:06 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-22 10:57:06 -0700 |
| commit | 581709df80769ae5174a1fab66bd3aa9d2967c15 (patch) | |
| tree | bfb9c257d0177e4dd7c6dabbcb09bbc11de2d832 /packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | |
| parent | 0c192555bb72940e6d4ed3c45cf6a4dfa5f23f69 (diff) | |
Refactor: Streamline memoryUtils and update slash commands (#478)
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.test.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
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(); |
