( overrides: Partial<SlashCommand>, kind: CommandKind = CommandKind.BUILT_IN, )
| 88 | } from '@anus-dev/anus-core/index.js'; |
| 89 | |
| 90 | function createTestCommand( |
| 91 | overrides: Partial<SlashCommand>, |
| 92 | kind: CommandKind = CommandKind.BUILT_IN, |
| 93 | ): SlashCommand { |
| 94 | return { |
| 95 | name: 'test', |
| 96 | description: 'a test command', |
| 97 | kind, |
| 98 | ...overrides, |
| 99 | }; |
| 100 | } |
| 101 | |
| 102 | describe('useSlashCommandProcessor', () => { |
| 103 | const mockAddItem = vi.fn(); |
no outgoing calls
no test coverage detected