(name: string, kind: CommandKind)
| 11 | import { CommandKind, type SlashCommand } from '../ui/commands/types.js'; |
| 12 | |
| 13 | const createMockCommand = (name: string, kind: CommandKind): SlashCommand => ({ |
| 14 | name, |
| 15 | description: `Description for ${name}`, |
| 16 | kind, |
| 17 | action: vi.fn(), |
| 18 | }); |
| 19 | |
| 20 | const mockCommandA = createMockCommand('command-a', CommandKind.BUILT_IN); |
| 21 | const mockCommandB = createMockCommand('command-b', CommandKind.BUILT_IN); |
no outgoing calls
no test coverage detected