prefactor(commands): Command Service Prefactor for Extensible Commands (#4511)

This commit is contained in:
Abhi
2025-07-20 16:57:34 -04:00
committed by GitHub
parent 7a9821607b
commit 2a95c8287e
36 changed files with 919 additions and 720 deletions

View File

@@ -451,13 +451,13 @@ describe('InputPrompt', () => {
unmount();
});
it('should complete a command based on its altName', async () => {
// Add a command with an altName to our mock for this test
it('should complete a command based on its altNames', async () => {
// Add a command with an altNames to our mock for this test
props.slashCommands.push({
name: 'help',
altName: '?',
altNames: ['?'],
description: '...',
});
} as SlashCommand);
mockedUseCompletion.mockReturnValue({
...mockCompletion,