fix(cli): refresh slash command list after /skills reload (#24454)

This commit is contained in:
N. Taylor Mullen
2026-04-01 12:15:27 -07:00
committed by GitHub
parent d9d51ba15b
commit 4e21e5b8a3
3 changed files with 4 additions and 0 deletions
@@ -528,6 +528,7 @@ describe('skillsCommand', () => {
await actionPromise;
expect(reloadSkillsMock).toHaveBeenCalled();
expect(context.ui.reloadCommands).toHaveBeenCalled();
expect(context.ui.setPendingItem).toHaveBeenCalledWith(null);
expect(context.ui.addItem).toHaveBeenCalledWith(
expect.objectContaining({