diff options
| author | Abhi <[email protected]> | 2025-07-20 16:57:34 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-20 20:57:34 +0000 |
| commit | 2a95c8287ed3b6fc38e7dcec5f0a19b9e2d843e7 (patch) | |
| tree | 1a9ffb6be8468aa44e54bfcb8ae2f961b970cf9a /packages/cli/src/ui/commands/helpCommand.test.ts | |
| parent | 7a9821607bafcbb98cf059705aaab358d46e711c (diff) | |
prefactor(commands): Command Service Prefactor for Extensible Commands (#4511)
Diffstat (limited to 'packages/cli/src/ui/commands/helpCommand.test.ts')
| -rw-r--r-- | packages/cli/src/ui/commands/helpCommand.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/ui/commands/helpCommand.test.ts b/packages/cli/src/ui/commands/helpCommand.test.ts index a6b19c05..b0441106 100644 --- a/packages/cli/src/ui/commands/helpCommand.test.ts +++ b/packages/cli/src/ui/commands/helpCommand.test.ts @@ -32,9 +32,9 @@ describe('helpCommand', () => { }); it("should also be triggered by its alternative name '?'", () => { - // This test is more conceptual. The routing of altName to the command + // This test is more conceptual. The routing of altNames to the command // is handled by the slash command processor, but we can assert the - // altName is correctly defined on the command object itself. - expect(helpCommand.altName).toBe('?'); + // altNames is correctly defined on the command object itself. + expect(helpCommand.altNames).toContain('?'); }); }); |
