mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-04 00:44:05 -07:00
feat(cli): implement dot-prefixing for slash command conflicts (#20979)
This commit is contained in:
@@ -1079,7 +1079,7 @@ describe('useSlashCompletion', () => {
|
||||
{
|
||||
name: 'custom-script',
|
||||
description: 'Run custom script',
|
||||
kind: CommandKind.FILE,
|
||||
kind: CommandKind.USER_FILE,
|
||||
action: vi.fn(),
|
||||
},
|
||||
] as SlashCommand[];
|
||||
@@ -1099,7 +1099,7 @@ describe('useSlashCompletion', () => {
|
||||
label: 'custom-script',
|
||||
value: 'custom-script',
|
||||
description: 'Run custom script',
|
||||
commandKind: CommandKind.FILE,
|
||||
commandKind: CommandKind.USER_FILE,
|
||||
},
|
||||
]);
|
||||
expect(result.current.completionStart).toBe(1);
|
||||
|
||||
Reference in New Issue
Block a user