From fbe09cd35e6c043ea2dc69281b758e5ad9f3896c Mon Sep 17 00:00:00 2001 From: Harold Mciver Date: Wed, 16 Jul 2025 20:27:36 -0400 Subject: update `/editor` to new slash command arch (#4153) Co-authored-by: Abhi --- packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | 12 ------------ 1 file changed, 12 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 399a923b..ab16d813 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts @@ -206,18 +206,6 @@ describe('useSlashCommandProcessor', () => { const getProcessor = () => getProcessorHook().result.current; - describe('Other commands', () => { - it('/editor should open editor dialog and return handled', async () => { - const { handleSlashCommand } = getProcessor(); - let commandResult: SlashCommandProcessorResult | false = false; - await act(async () => { - commandResult = await handleSlashCommand('/editor'); - }); - expect(mockOpenEditorDialog).toHaveBeenCalled(); - expect(commandResult).toEqual({ type: 'handled' }); - }); - }); - describe('New command registry', () => { let ActualCommandService: typeof CommandService; -- cgit v1.2.3