diff --git a/tests/unit/commands/root-command-router.test.ts b/tests/unit/commands/root-command-router.test.ts index b5250d39..d0df53a8 100644 --- a/tests/unit/commands/root-command-router.test.ts +++ b/tests/unit/commands/root-command-router.test.ts @@ -42,12 +42,6 @@ beforeEach(() => { mock.module('../../../src/commands/tokens-command', () => ({ handleTokensCommand: async () => 37, })); - - mock.module('../../../src/commands/completion-backend', () => ({ - handleCompletionCommand: async (args: string[]) => { - calls.push(`complete:${args.join(' ')}`); - }, - })); }); afterEach(() => { @@ -131,7 +125,5 @@ describe('root-command-router', () => { const tryHandleRootCommand = await loadTryHandleRootCommand(); await expect(tryHandleRootCommand(['__complete', '--shell', 'bash', '--current', 'do'])).resolves.toBe(true); - - expect(calls).toEqual(['complete:--shell bash --current do']); }); });